@salesforce/lds-adapters-cdp-semantic-authoring 1.346.0 → 1.347.1

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$b, typeCheckConfig as typeCheckConfig$i, StoreKeyMap, createResourceParams as createResourceParams$i } from '@luvio/engine';
7
+ import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$b, typeCheckConfig as typeCheckConfig$k, StoreKeyMap, createResourceParams as createResourceParams$k } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
10
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -92,7 +92,7 @@ function createLink(ref) {
92
92
  };
93
93
  }
94
94
 
95
- const VERSION$A = "a2976cd68e629a917463a3b690cf2527";
95
+ const VERSION$y = "a2976cd68e629a917463a3b690cf2527";
96
96
  function validate$14(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
97
97
  const v_error = (() => {
98
98
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -115,10 +115,10 @@ function validate$14(obj, path = 'SemanticTableFieldReferenceOutputRepresentatio
115
115
  })();
116
116
  return v_error === undefined ? null : v_error;
117
117
  }
118
- const select$Q = function SemanticTableFieldReferenceOutputRepresentationSelect() {
118
+ const select$P = function SemanticTableFieldReferenceOutputRepresentationSelect() {
119
119
  return {
120
120
  kind: 'Fragment',
121
- version: VERSION$A,
121
+ version: VERSION$y,
122
122
  private: [],
123
123
  selections: [
124
124
  {
@@ -134,7 +134,7 @@ const select$Q = function SemanticTableFieldReferenceOutputRepresentationSelect(
134
134
  ]
135
135
  };
136
136
  };
137
- function equals$A(existing, incoming) {
137
+ function equals$y(existing, incoming) {
138
138
  const existing_fieldApiName = existing.fieldApiName;
139
139
  const incoming_fieldApiName = incoming.fieldApiName;
140
140
  // if at least one of these optionals is defined
@@ -164,7 +164,7 @@ function equals$A(existing, incoming) {
164
164
  return true;
165
165
  }
166
166
 
167
- const VERSION$z = "f49a2cbbe308f6f74cda3e2144fa66cd";
167
+ const VERSION$x = "f49a2cbbe308f6f74cda3e2144fa66cd";
168
168
  function validate$13(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
169
169
  const v_error = (() => {
170
170
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -190,11 +190,11 @@ function validate$13(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
190
190
  })();
191
191
  return v_error === undefined ? null : v_error;
192
192
  }
193
- const select$P = function SemanticFieldReferenceOutputRepresentationSelect() {
194
- const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$Q();
193
+ const select$O = function SemanticFieldReferenceOutputRepresentationSelect() {
194
+ const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$P();
195
195
  return {
196
196
  kind: 'Fragment',
197
- version: VERSION$z,
197
+ version: VERSION$x,
198
198
  private: [],
199
199
  selections: [
200
200
  {
@@ -211,7 +211,7 @@ const select$P = function SemanticFieldReferenceOutputRepresentationSelect() {
211
211
  ]
212
212
  };
213
213
  };
214
- function equals$z(existing, incoming) {
214
+ function equals$x(existing, incoming) {
215
215
  const existing_calculatedFieldApiName = existing.calculatedFieldApiName;
216
216
  const incoming_calculatedFieldApiName = incoming.calculatedFieldApiName;
217
217
  // if at least one of these optionals is defined
@@ -234,14 +234,14 @@ function equals$z(existing, incoming) {
234
234
  if (existing_tableFieldReference === undefined || incoming_tableFieldReference === undefined) {
235
235
  return false;
236
236
  }
237
- if (!(equals$A(existing_tableFieldReference, incoming_tableFieldReference))) {
237
+ if (!(equals$y(existing_tableFieldReference, incoming_tableFieldReference))) {
238
238
  return false;
239
239
  }
240
240
  }
241
241
  return true;
242
242
  }
243
243
 
244
- const VERSION$y = "9b5a0e85af6a943c95625e2dfe81ab96";
244
+ const VERSION$w = "9b5a0e85af6a943c95625e2dfe81ab96";
245
245
  function validate$12(obj, path = 'SemanticFilterOutputRepresentation') {
246
246
  const v_error = (() => {
247
247
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -271,10 +271,10 @@ function validate$12(obj, path = 'SemanticFilterOutputRepresentation') {
271
271
  })();
272
272
  return v_error === undefined ? null : v_error;
273
273
  }
274
- const select$O = function SemanticFilterOutputRepresentationSelect() {
274
+ const select$N = function SemanticFilterOutputRepresentationSelect() {
275
275
  return {
276
276
  kind: 'Fragment',
277
- version: VERSION$y,
277
+ version: VERSION$w,
278
278
  private: [],
279
279
  selections: [
280
280
  {
@@ -295,7 +295,7 @@ const select$O = function SemanticFilterOutputRepresentationSelect() {
295
295
  ]
296
296
  };
297
297
  };
298
- function equals$y(existing, incoming) {
298
+ function equals$w(existing, incoming) {
299
299
  const existing_fieldName = existing.fieldName;
300
300
  const incoming_fieldName = incoming.fieldName;
301
301
  // if at least one of these optionals is defined
@@ -338,7 +338,7 @@ function equals$y(existing, incoming) {
338
338
  return true;
339
339
  }
340
340
 
341
- const VERSION$x = "a50848c632bb205d5e910bb726d9219e";
341
+ const VERSION$v = "a50848c632bb205d5e910bb726d9219e";
342
342
  function validate$11(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
343
343
  const v_error = (() => {
344
344
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -367,11 +367,11 @@ function validate$11(obj, path = 'SemanticIdentifyingDimensionOutputRepresentati
367
367
  })();
368
368
  return v_error === undefined ? null : v_error;
369
369
  }
370
- const select$N = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
371
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$P();
370
+ const select$M = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
371
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$O();
372
372
  return {
373
373
  kind: 'Fragment',
374
- version: VERSION$x,
374
+ version: VERSION$v,
375
375
  private: [],
376
376
  selections: [
377
377
  {
@@ -389,7 +389,7 @@ const select$N = function SemanticIdentifyingDimensionOutputRepresentationSelect
389
389
  ]
390
390
  };
391
391
  };
392
- function equals$x(existing, incoming) {
392
+ function equals$v(existing, incoming) {
393
393
  const existing_identifierDimensionReference = existing.identifierDimensionReference;
394
394
  const incoming_identifierDimensionReference = incoming.identifierDimensionReference;
395
395
  // if at least one of these optionals is defined
@@ -399,7 +399,7 @@ function equals$x(existing, incoming) {
399
399
  if (existing_identifierDimensionReference === undefined || incoming_identifierDimensionReference === undefined) {
400
400
  return false;
401
401
  }
402
- if (!(equals$z(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
402
+ if (!(equals$x(existing_identifierDimensionReference, incoming_identifierDimensionReference))) {
403
403
  return false;
404
404
  }
405
405
  }
@@ -412,14 +412,14 @@ function equals$x(existing, incoming) {
412
412
  if (existing_namingDimensionReference === undefined || incoming_namingDimensionReference === undefined) {
413
413
  return false;
414
414
  }
415
- if (!(equals$z(existing_namingDimensionReference, incoming_namingDimensionReference))) {
415
+ if (!(equals$x(existing_namingDimensionReference, incoming_namingDimensionReference))) {
416
416
  return false;
417
417
  }
418
418
  }
419
419
  return true;
420
420
  }
421
421
 
422
- const VERSION$w = "1b8cf2283d5d5c480459506274f0604c";
422
+ const VERSION$u = "1b8cf2283d5d5c480459506274f0604c";
423
423
  function validate$10(obj, path = 'SemanticInsightTypeOutputRepresentation') {
424
424
  const v_error = (() => {
425
425
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -442,10 +442,10 @@ function validate$10(obj, path = 'SemanticInsightTypeOutputRepresentation') {
442
442
  })();
443
443
  return v_error === undefined ? null : v_error;
444
444
  }
445
- const select$M = function SemanticInsightTypeOutputRepresentationSelect() {
445
+ const select$L = function SemanticInsightTypeOutputRepresentationSelect() {
446
446
  return {
447
447
  kind: 'Fragment',
448
- version: VERSION$w,
448
+ version: VERSION$u,
449
449
  private: [],
450
450
  selections: [
451
451
  {
@@ -461,7 +461,7 @@ const select$M = function SemanticInsightTypeOutputRepresentationSelect() {
461
461
  ]
462
462
  };
463
463
  };
464
- function equals$w(existing, incoming) {
464
+ function equals$u(existing, incoming) {
465
465
  const existing_enabled = existing.enabled;
466
466
  const incoming_enabled = incoming.enabled;
467
467
  // if at least one of these optionals is defined
@@ -491,7 +491,7 @@ function equals$w(existing, incoming) {
491
491
  return true;
492
492
  }
493
493
 
494
- const VERSION$v = "a3f5972287be7bcf9ca205af56046a58";
494
+ const VERSION$t = "a3f5972287be7bcf9ca205af56046a58";
495
495
  function validate$$(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
496
496
  const v_error = (() => {
497
497
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -565,13 +565,13 @@ function validate$$(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
565
565
  })();
566
566
  return v_error === undefined ? null : v_error;
567
567
  }
568
- const select$L = function SemanticInsightsSettingsOutputRepresentationSelect() {
569
- const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$N();
570
- const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$M();
571
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$P();
568
+ const select$K = function SemanticInsightsSettingsOutputRepresentationSelect() {
569
+ const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$M();
570
+ const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$L();
571
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$O();
572
572
  return {
573
573
  kind: 'Fragment',
574
- version: VERSION$v,
574
+ version: VERSION$t,
575
575
  private: [],
576
576
  selections: [
577
577
  {
@@ -612,7 +612,7 @@ const select$L = function SemanticInsightsSettingsOutputRepresentationSelect() {
612
612
  ]
613
613
  };
614
614
  };
615
- function equals$v(existing, incoming) {
615
+ function equals$t(existing, incoming) {
616
616
  const existing_pluralNoun = existing.pluralNoun;
617
617
  const incoming_pluralNoun = incoming.pluralNoun;
618
618
  // if at least one of these optionals is defined
@@ -661,7 +661,7 @@ function equals$v(existing, incoming) {
661
661
  if (existing_identifyingDimension === undefined || incoming_identifyingDimension === undefined) {
662
662
  return false;
663
663
  }
664
- if (!(equals$x(existing_identifyingDimension, incoming_identifyingDimension))) {
664
+ if (!(equals$v(existing_identifyingDimension, incoming_identifyingDimension))) {
665
665
  return false;
666
666
  }
667
667
  }
@@ -675,7 +675,7 @@ function equals$v(existing, incoming) {
675
675
  return false;
676
676
  }
677
677
  const equals_insightTypes_items = equalsArray(existing_insightTypes, incoming_insightTypes, (existing_insightTypes_item, incoming_insightTypes_item) => {
678
- if (!(equals$w(existing_insightTypes_item, incoming_insightTypes_item))) {
678
+ if (!(equals$u(existing_insightTypes_item, incoming_insightTypes_item))) {
679
679
  return false;
680
680
  }
681
681
  });
@@ -693,7 +693,7 @@ function equals$v(existing, incoming) {
693
693
  return false;
694
694
  }
695
695
  const equals_insightsDimensionsReferences_items = equalsArray(existing_insightsDimensionsReferences, incoming_insightsDimensionsReferences, (existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item) => {
696
- if (!(equals$z(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
696
+ if (!(equals$x(existing_insightsDimensionsReferences_item, incoming_insightsDimensionsReferences_item))) {
697
697
  return false;
698
698
  }
699
699
  });
@@ -704,7 +704,7 @@ function equals$v(existing, incoming) {
704
704
  return true;
705
705
  }
706
706
 
707
- const VERSION$u = "0873ccd85b32d14c753931243d20ac8b";
707
+ const VERSION$s = "0873ccd85b32d14c753931243d20ac8b";
708
708
  function validate$_(obj, path = 'SemanticMetricOutputRepresentation') {
709
709
  const v_error = (() => {
710
710
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -875,25 +875,25 @@ function validate$_(obj, path = 'SemanticMetricOutputRepresentation') {
875
875
  return v_error === undefined ? null : v_error;
876
876
  }
877
877
  const RepresentationType$i = 'SemanticMetricOutputRepresentation';
878
- function keyBuilder$A(luvio, config) {
878
+ function keyBuilder$B(luvio, config) {
879
879
  return keyPrefix + '::' + RepresentationType$i + ':' + config.name;
880
880
  }
881
881
  function keyBuilderFromType$c(luvio, object) {
882
882
  const keyParams = {
883
883
  name: object.id
884
884
  };
885
- return keyBuilder$A(luvio, keyParams);
885
+ return keyBuilder$B(luvio, keyParams);
886
886
  }
887
887
  function normalize$i(input, existing, path, luvio, store, timestamp) {
888
888
  return input;
889
889
  }
890
- const select$K = function SemanticMetricOutputRepresentationSelect() {
891
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$P();
892
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$O();
893
- const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$L();
890
+ const select$J = function SemanticMetricOutputRepresentationSelect() {
891
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$O();
892
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$N();
893
+ const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$K();
894
894
  return {
895
895
  kind: 'Fragment',
896
- version: VERSION$u,
896
+ version: VERSION$s,
897
897
  private: [],
898
898
  selections: [
899
899
  {
@@ -998,7 +998,7 @@ const select$K = function SemanticMetricOutputRepresentationSelect() {
998
998
  ]
999
999
  };
1000
1000
  };
1001
- function equals$u(existing, incoming) {
1001
+ function equals$s(existing, incoming) {
1002
1002
  const existing_isCumulative = existing.isCumulative;
1003
1003
  const incoming_isCumulative = incoming.isCumulative;
1004
1004
  // if at least one of these optionals is defined
@@ -1146,7 +1146,7 @@ function equals$u(existing, incoming) {
1146
1146
  return false;
1147
1147
  }
1148
1148
  const equals_additionalDimensions_items = equalsArray(existing_additionalDimensions, incoming_additionalDimensions, (existing_additionalDimensions_item, incoming_additionalDimensions_item) => {
1149
- if (!(equals$z(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
1149
+ if (!(equals$x(existing_additionalDimensions_item, incoming_additionalDimensions_item))) {
1150
1150
  return false;
1151
1151
  }
1152
1152
  });
@@ -1164,7 +1164,7 @@ function equals$u(existing, incoming) {
1164
1164
  return false;
1165
1165
  }
1166
1166
  const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
1167
- if (!(equals$y(existing_filters_item, incoming_filters_item))) {
1167
+ if (!(equals$w(existing_filters_item, incoming_filters_item))) {
1168
1168
  return false;
1169
1169
  }
1170
1170
  });
@@ -1181,7 +1181,7 @@ function equals$u(existing, incoming) {
1181
1181
  if (existing_insightsSettings === undefined || incoming_insightsSettings === undefined) {
1182
1182
  return false;
1183
1183
  }
1184
- if (!(equals$v(existing_insightsSettings, incoming_insightsSettings))) {
1184
+ if (!(equals$t(existing_insightsSettings, incoming_insightsSettings))) {
1185
1185
  return false;
1186
1186
  }
1187
1187
  }
@@ -1194,7 +1194,7 @@ function equals$u(existing, incoming) {
1194
1194
  if (existing_measurementReference === undefined || incoming_measurementReference === undefined) {
1195
1195
  return false;
1196
1196
  }
1197
- if (!(equals$z(existing_measurementReference, incoming_measurementReference))) {
1197
+ if (!(equals$x(existing_measurementReference, incoming_measurementReference))) {
1198
1198
  return false;
1199
1199
  }
1200
1200
  }
@@ -1207,7 +1207,7 @@ function equals$u(existing, incoming) {
1207
1207
  if (existing_timeDimensionReference === undefined || incoming_timeDimensionReference === undefined) {
1208
1208
  return false;
1209
1209
  }
1210
- if (!(equals$z(existing_timeDimensionReference, incoming_timeDimensionReference))) {
1210
+ if (!(equals$x(existing_timeDimensionReference, incoming_timeDimensionReference))) {
1211
1211
  return false;
1212
1212
  }
1213
1213
  }
@@ -1240,7 +1240,7 @@ const ingest$i = function SemanticMetricOutputRepresentationIngest(input, path,
1240
1240
  }
1241
1241
  const key = keyBuilderFromType$c(luvio, input);
1242
1242
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
1243
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$u, RepresentationType$i, equals$u);
1243
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$s, RepresentationType$i, equals$s);
1244
1244
  return createLink(key);
1245
1245
  };
1246
1246
  function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
@@ -1253,7 +1253,7 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
1253
1253
  });
1254
1254
  }
1255
1255
 
1256
- const VERSION$t = "a6709a9f16e02d0d8e3d8423ebc79c2b";
1256
+ const VERSION$r = "a6709a9f16e02d0d8e3d8423ebc79c2b";
1257
1257
  function validate$Z(obj, path = 'SemanticMetricCollectionOutputRepresentation') {
1258
1258
  const v_error = (() => {
1259
1259
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1298,10 +1298,10 @@ function normalize$h(input, existing, path, luvio, store, timestamp) {
1298
1298
  }
1299
1299
  return input;
1300
1300
  }
1301
- const select$J = function SemanticMetricCollectionOutputRepresentationSelect() {
1301
+ const select$I = function SemanticMetricCollectionOutputRepresentationSelect() {
1302
1302
  return {
1303
1303
  kind: 'Fragment',
1304
- version: VERSION$t,
1304
+ version: VERSION$r,
1305
1305
  private: [],
1306
1306
  selections: [
1307
1307
  {
@@ -1309,12 +1309,12 @@ const select$J = function SemanticMetricCollectionOutputRepresentationSelect() {
1309
1309
  kind: 'Link',
1310
1310
  plural: true,
1311
1311
  required: false,
1312
- fragment: select$K()
1312
+ fragment: select$J()
1313
1313
  }
1314
1314
  ]
1315
1315
  };
1316
1316
  };
1317
- function equals$t(existing, incoming) {
1317
+ function equals$r(existing, incoming) {
1318
1318
  const existing_metrics = existing.metrics;
1319
1319
  const incoming_metrics = incoming.metrics;
1320
1320
  // if at least one of these optionals is defined
@@ -1344,7 +1344,7 @@ const ingest$h = function SemanticMetricCollectionOutputRepresentationIngest(inp
1344
1344
  }
1345
1345
  const key = path.fullPath;
1346
1346
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
1347
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$t, RepresentationType$h, equals$t);
1347
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "SemanticAuthoring", VERSION$r, RepresentationType$h, equals$r);
1348
1348
  return createLink(key);
1349
1349
  };
1350
1350
  function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
@@ -1363,22 +1363,22 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
1363
1363
  }
1364
1364
  }
1365
1365
 
1366
- function select$I(luvio, params) {
1367
- return select$J();
1366
+ function select$H(luvio, params) {
1367
+ return select$I();
1368
1368
  }
1369
- function keyBuilder$z(luvio, params) {
1369
+ function keyBuilder$A(luvio, params) {
1370
1370
  return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'metricIds:' + params.urlParams.metricIds + ')';
1371
1371
  }
1372
- function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
1373
- getTypeCacheKeys$h(storeKeyMap, luvio, response, () => keyBuilder$z(luvio, resourceParams));
1372
+ function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
1373
+ getTypeCacheKeys$h(storeKeyMap, luvio, response, () => keyBuilder$A(luvio, resourceParams));
1374
1374
  }
1375
- function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
1375
+ function ingestSuccess$g(luvio, resourceParams, response, snapshotRefresh) {
1376
1376
  const { body } = response;
1377
- const key = keyBuilder$z(luvio, resourceParams);
1377
+ const key = keyBuilder$A(luvio, resourceParams);
1378
1378
  luvio.storeIngest(key, ingest$h, body);
1379
1379
  const snapshot = luvio.storeLookup({
1380
1380
  recordId: key,
1381
- node: select$I(),
1381
+ node: select$H(),
1382
1382
  variables: {},
1383
1383
  }, snapshotRefresh);
1384
1384
  if (process.env.NODE_ENV !== 'production') {
@@ -1390,12 +1390,12 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
1390
1390
  return snapshot;
1391
1391
  }
1392
1392
  function ingestError$a(luvio, params, error, snapshotRefresh) {
1393
- const key = keyBuilder$z(luvio, params);
1393
+ const key = keyBuilder$A(luvio, params);
1394
1394
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1395
1395
  luvio.storeIngestError(key, errorSnapshot);
1396
1396
  return errorSnapshot;
1397
1397
  }
1398
- function createResourceRequest$h(config) {
1398
+ function createResourceRequest$j(config) {
1399
1399
  const headers = {};
1400
1400
  return {
1401
1401
  baseUri: '/services/data/v64.0',
@@ -1409,62 +1409,62 @@ function createResourceRequest$h(config) {
1409
1409
  };
1410
1410
  }
1411
1411
 
1412
- const adapterName$h = 'getSemanticMetricsByIds';
1412
+ const adapterName$j = 'getSemanticMetricsByIds';
1413
1413
  const getSemanticMetricsByIds_ConfigPropertyMetadata = [
1414
1414
  generateParamConfigMetadata('metricIds', true, 0 /* UrlParameter */, 0 /* String */),
1415
1415
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
1416
1416
  generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
1417
1417
  ];
1418
- const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getSemanticMetricsByIds_ConfigPropertyMetadata);
1419
- const createResourceParams$h = /*#__PURE__*/ createResourceParams$i(getSemanticMetricsByIds_ConfigPropertyMetadata);
1420
- function keyBuilder$y(luvio, config) {
1421
- const resourceParams = createResourceParams$h(config);
1422
- return keyBuilder$z(luvio, resourceParams);
1418
+ const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, getSemanticMetricsByIds_ConfigPropertyMetadata);
1419
+ const createResourceParams$j = /*#__PURE__*/ createResourceParams$k(getSemanticMetricsByIds_ConfigPropertyMetadata);
1420
+ function keyBuilder$z(luvio, config) {
1421
+ const resourceParams = createResourceParams$j(config);
1422
+ return keyBuilder$A(luvio, resourceParams);
1423
1423
  }
1424
- function typeCheckConfig$h(untrustedConfig) {
1424
+ function typeCheckConfig$j(untrustedConfig) {
1425
1425
  const config = {};
1426
- typeCheckConfig$i(untrustedConfig, config, getSemanticMetricsByIds_ConfigPropertyMetadata);
1426
+ typeCheckConfig$k(untrustedConfig, config, getSemanticMetricsByIds_ConfigPropertyMetadata);
1427
1427
  return config;
1428
1428
  }
1429
- function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
1429
+ function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
1430
1430
  if (!untrustedIsObject(untrustedConfig)) {
1431
1431
  return null;
1432
1432
  }
1433
1433
  if (process.env.NODE_ENV !== 'production') {
1434
1434
  validateConfig(untrustedConfig, configPropertyNames);
1435
1435
  }
1436
- const config = typeCheckConfig$h(untrustedConfig);
1436
+ const config = typeCheckConfig$j(untrustedConfig);
1437
1437
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1438
1438
  return null;
1439
1439
  }
1440
1440
  return config;
1441
1441
  }
1442
1442
  function adapterFragment$a(luvio, config) {
1443
- createResourceParams$h(config);
1444
- return select$I();
1443
+ createResourceParams$j(config);
1444
+ return select$H();
1445
1445
  }
1446
1446
  function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
1447
- const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
1447
+ const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
1448
1448
  config,
1449
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1449
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
1450
1450
  });
1451
1451
  return luvio.storeBroadcast().then(() => snapshot);
1452
1452
  }
1453
1453
  function onFetchResponseError$a(luvio, config, resourceParams, response) {
1454
1454
  const snapshot = ingestError$a(luvio, resourceParams, response, {
1455
1455
  config,
1456
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1456
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
1457
1457
  });
1458
1458
  return luvio.storeBroadcast().then(() => snapshot);
1459
1459
  }
1460
- function buildNetworkSnapshot$h(luvio, config, options) {
1461
- const resourceParams = createResourceParams$h(config);
1462
- const request = createResourceRequest$h(resourceParams);
1460
+ function buildNetworkSnapshot$j(luvio, config, options) {
1461
+ const resourceParams = createResourceParams$j(config);
1462
+ const request = createResourceRequest$j(resourceParams);
1463
1463
  return luvio.dispatchResourceRequest(request, options)
1464
1464
  .then((response) => {
1465
1465
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
1466
1466
  const cache = new StoreKeyMap();
1467
- getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
1467
+ getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
1468
1468
  return cache;
1469
1469
  });
1470
1470
  }, (response) => {
@@ -1472,23 +1472,23 @@ function buildNetworkSnapshot$h(luvio, config, options) {
1472
1472
  });
1473
1473
  }
1474
1474
  function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
1475
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
1475
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
1476
1476
  }
1477
1477
  function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
1478
1478
  const { luvio, config } = context;
1479
1479
  const selector = {
1480
- recordId: keyBuilder$y(luvio, config),
1480
+ recordId: keyBuilder$z(luvio, config),
1481
1481
  node: adapterFragment$a(luvio, config),
1482
1482
  variables: {},
1483
1483
  };
1484
1484
  const cacheSnapshot = storeLookup(selector, {
1485
1485
  config,
1486
- resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
1486
+ resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
1487
1487
  });
1488
1488
  return cacheSnapshot;
1489
1489
  }
1490
1490
  const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticMetricsByIds(untrustedConfig, requestContext) {
1491
- const config = validateAdapterConfig$h(untrustedConfig, getSemanticMetricsByIds_ConfigPropertyNames);
1491
+ const config = validateAdapterConfig$j(untrustedConfig, getSemanticMetricsByIds_ConfigPropertyNames);
1492
1492
  // Invalid or incomplete config
1493
1493
  if (config === null) {
1494
1494
  return null;
@@ -1497,7 +1497,7 @@ const getSemanticMetricsByIdsAdapterFactory = (luvio) => function SemanticAuthor
1497
1497
  buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
1498
1498
  };
1499
1499
 
1500
- const VERSION$s = "3a32d382e7a2268096278aa8e5c6761a";
1500
+ const VERSION$q = "3a32d382e7a2268096278aa8e5c6761a";
1501
1501
  function validate$Y(obj, path = 'SemanticBaseModelOutputRepresentation') {
1502
1502
  const v_error = (() => {
1503
1503
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1518,10 +1518,10 @@ function validate$Y(obj, path = 'SemanticBaseModelOutputRepresentation') {
1518
1518
  })();
1519
1519
  return v_error === undefined ? null : v_error;
1520
1520
  }
1521
- const select$H = function SemanticBaseModelOutputRepresentationSelect() {
1521
+ const select$G = function SemanticBaseModelOutputRepresentationSelect() {
1522
1522
  return {
1523
1523
  kind: 'Fragment',
1524
- version: VERSION$s,
1524
+ version: VERSION$q,
1525
1525
  private: [],
1526
1526
  selections: [
1527
1527
  {
@@ -1536,7 +1536,7 @@ const select$H = function SemanticBaseModelOutputRepresentationSelect() {
1536
1536
  ]
1537
1537
  };
1538
1538
  };
1539
- function equals$s(existing, incoming) {
1539
+ function equals$q(existing, incoming) {
1540
1540
  const existing_apiName = existing.apiName;
1541
1541
  const incoming_apiName = incoming.apiName;
1542
1542
  if (!(existing_apiName === incoming_apiName)) {
@@ -1558,7 +1558,7 @@ function equals$s(existing, incoming) {
1558
1558
  return true;
1559
1559
  }
1560
1560
 
1561
- const VERSION$r = "c9079354cd8127a37c0c13ea6686383c";
1561
+ const VERSION$p = "c9079354cd8127a37c0c13ea6686383c";
1562
1562
  function validate$X(obj, path = 'SemanticModelPartialOutputRepresentation') {
1563
1563
  const v_error = (() => {
1564
1564
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1763,11 +1763,11 @@ function validate$X(obj, path = 'SemanticModelPartialOutputRepresentation') {
1763
1763
  })();
1764
1764
  return v_error === undefined ? null : v_error;
1765
1765
  }
1766
- const select$G = function SemanticModelPartialOutputRepresentationSelect() {
1767
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$H();
1766
+ const select$F = function SemanticModelPartialOutputRepresentationSelect() {
1767
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$G();
1768
1768
  return {
1769
1769
  kind: 'Fragment',
1770
- version: VERSION$r,
1770
+ version: VERSION$p,
1771
1771
  private: [],
1772
1772
  selections: [
1773
1773
  {
@@ -1891,7 +1891,7 @@ const select$G = function SemanticModelPartialOutputRepresentationSelect() {
1891
1891
  ]
1892
1892
  };
1893
1893
  };
1894
- function equals$r(existing, incoming) {
1894
+ function equals$p(existing, incoming) {
1895
1895
  const existing_isLocked = existing.isLocked;
1896
1896
  const incoming_isLocked = incoming.isLocked;
1897
1897
  // if at least one of these optionals is defined
@@ -2135,7 +2135,7 @@ function equals$r(existing, incoming) {
2135
2135
  return false;
2136
2136
  }
2137
2137
  const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
2138
- if (!(equals$s(existing_baseModels_item, incoming_baseModels_item))) {
2138
+ if (!(equals$q(existing_baseModels_item, incoming_baseModels_item))) {
2139
2139
  return false;
2140
2140
  }
2141
2141
  });
@@ -2177,7 +2177,7 @@ function equals$r(existing, incoming) {
2177
2177
  return true;
2178
2178
  }
2179
2179
 
2180
- const VERSION$q = "198423ec58354256cc7ea6f4661ef669";
2180
+ const VERSION$o = "198423ec58354256cc7ea6f4661ef669";
2181
2181
  function validate$W(obj, path = 'SemanticModelCollectionOutputRepresentation') {
2182
2182
  const v_error = (() => {
2183
2183
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2301,11 +2301,11 @@ const RepresentationType$g = 'SemanticModelCollectionOutputRepresentation';
2301
2301
  function normalize$g(input, existing, path, luvio, store, timestamp) {
2302
2302
  return input;
2303
2303
  }
2304
- const select$F = function SemanticModelCollectionOutputRepresentationSelect() {
2305
- const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$G();
2304
+ const select$E = function SemanticModelCollectionOutputRepresentationSelect() {
2305
+ const { selections: SemanticModelPartialOutputRepresentation__selections, opaque: SemanticModelPartialOutputRepresentation__opaque, } = select$F();
2306
2306
  return {
2307
2307
  kind: 'Fragment',
2308
- version: VERSION$q,
2308
+ version: VERSION$o,
2309
2309
  private: [],
2310
2310
  selections: [
2311
2311
  {
@@ -2341,7 +2341,7 @@ const select$F = function SemanticModelCollectionOutputRepresentationSelect() {
2341
2341
  ]
2342
2342
  };
2343
2343
  };
2344
- function equals$q(existing, incoming) {
2344
+ function equals$o(existing, incoming) {
2345
2345
  const existing_count = existing.count;
2346
2346
  const incoming_count = incoming.count;
2347
2347
  if (!(existing_count === incoming_count)) {
@@ -2375,7 +2375,7 @@ function equals$q(existing, incoming) {
2375
2375
  return false;
2376
2376
  }
2377
2377
  const equals_items_items = equalsArray(existing_items, incoming_items, (existing_items_item, incoming_items_item) => {
2378
- if (!(equals$r(existing_items_item, incoming_items_item))) {
2378
+ if (!(equals$p(existing_items_item, incoming_items_item))) {
2379
2379
  return false;
2380
2380
  }
2381
2381
  });
@@ -2420,7 +2420,7 @@ const ingest$g = function SemanticModelCollectionOutputRepresentationIngest(inpu
2420
2420
  }
2421
2421
  const key = path.fullPath;
2422
2422
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
2423
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$q, RepresentationType$g, equals$q);
2423
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "SemanticAuthoring", VERSION$o, RepresentationType$g, equals$o);
2424
2424
  return createLink(key);
2425
2425
  };
2426
2426
  function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
@@ -2433,22 +2433,22 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
2433
2433
  });
2434
2434
  }
2435
2435
 
2436
- function select$E(luvio, params) {
2437
- return select$F();
2436
+ function select$D(luvio, params) {
2437
+ return select$E();
2438
2438
  }
2439
- function keyBuilder$x(luvio, params) {
2439
+ function keyBuilder$y(luvio, params) {
2440
2440
  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 + ')';
2441
2441
  }
2442
- function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
2443
- getTypeCacheKeys$g(storeKeyMap, luvio, response, () => keyBuilder$x(luvio, resourceParams));
2442
+ function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
2443
+ getTypeCacheKeys$g(storeKeyMap, luvio, response, () => keyBuilder$y(luvio, resourceParams));
2444
2444
  }
2445
- function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
2445
+ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
2446
2446
  const { body } = response;
2447
- const key = keyBuilder$x(luvio, resourceParams);
2447
+ const key = keyBuilder$y(luvio, resourceParams);
2448
2448
  luvio.storeIngest(key, ingest$g, body);
2449
2449
  const snapshot = luvio.storeLookup({
2450
2450
  recordId: key,
2451
- node: select$E(),
2451
+ node: select$D(),
2452
2452
  variables: {},
2453
2453
  }, snapshotRefresh);
2454
2454
  if (process.env.NODE_ENV !== 'production') {
@@ -2460,12 +2460,12 @@ function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
2460
2460
  return snapshot;
2461
2461
  }
2462
2462
  function ingestError$9(luvio, params, error, snapshotRefresh) {
2463
- const key = keyBuilder$x(luvio, params);
2463
+ const key = keyBuilder$y(luvio, params);
2464
2464
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2465
2465
  luvio.storeIngestError(key, errorSnapshot);
2466
2466
  return errorSnapshot;
2467
2467
  }
2468
- function createResourceRequest$g(config) {
2468
+ function createResourceRequest$i(config) {
2469
2469
  const headers = {};
2470
2470
  return {
2471
2471
  baseUri: '/services/data/v64.0',
@@ -2479,7 +2479,7 @@ function createResourceRequest$g(config) {
2479
2479
  };
2480
2480
  }
2481
2481
 
2482
- const adapterName$g = 'getSemanticModels';
2482
+ const adapterName$i = 'getSemanticModels';
2483
2483
  const getSemanticModels_ConfigPropertyMetadata = [
2484
2484
  generateParamConfigMetadata('app', false, 1 /* QueryParameter */, 0 /* String */),
2485
2485
  generateParamConfigMetadata('category', false, 1 /* QueryParameter */, 0 /* String */),
@@ -2491,56 +2491,56 @@ const getSemanticModels_ConfigPropertyMetadata = [
2491
2491
  generateParamConfigMetadata('sourceCreation', false, 1 /* QueryParameter */, 0 /* String */),
2492
2492
  generateParamConfigMetadata('sourceCreationName', false, 1 /* QueryParameter */, 0 /* String */),
2493
2493
  ];
2494
- const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSemanticModels_ConfigPropertyMetadata);
2495
- const createResourceParams$g = /*#__PURE__*/ createResourceParams$i(getSemanticModels_ConfigPropertyMetadata);
2496
- function keyBuilder$w(luvio, config) {
2497
- const resourceParams = createResourceParams$g(config);
2498
- return keyBuilder$x(luvio, resourceParams);
2494
+ const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getSemanticModels_ConfigPropertyMetadata);
2495
+ const createResourceParams$i = /*#__PURE__*/ createResourceParams$k(getSemanticModels_ConfigPropertyMetadata);
2496
+ function keyBuilder$x(luvio, config) {
2497
+ const resourceParams = createResourceParams$i(config);
2498
+ return keyBuilder$y(luvio, resourceParams);
2499
2499
  }
2500
- function typeCheckConfig$g(untrustedConfig) {
2500
+ function typeCheckConfig$i(untrustedConfig) {
2501
2501
  const config = {};
2502
- typeCheckConfig$i(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
2502
+ typeCheckConfig$k(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
2503
2503
  return config;
2504
2504
  }
2505
- function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
2505
+ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
2506
2506
  if (!untrustedIsObject(untrustedConfig)) {
2507
2507
  return null;
2508
2508
  }
2509
2509
  if (process.env.NODE_ENV !== 'production') {
2510
2510
  validateConfig(untrustedConfig, configPropertyNames);
2511
2511
  }
2512
- const config = typeCheckConfig$g(untrustedConfig);
2512
+ const config = typeCheckConfig$i(untrustedConfig);
2513
2513
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
2514
2514
  return null;
2515
2515
  }
2516
2516
  return config;
2517
2517
  }
2518
2518
  function adapterFragment$9(luvio, config) {
2519
- createResourceParams$g(config);
2520
- return select$E();
2519
+ createResourceParams$i(config);
2520
+ return select$D();
2521
2521
  }
2522
2522
  function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
2523
- const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
2523
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
2524
2524
  config,
2525
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
2525
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2526
2526
  });
2527
2527
  return luvio.storeBroadcast().then(() => snapshot);
2528
2528
  }
2529
2529
  function onFetchResponseError$9(luvio, config, resourceParams, response) {
2530
2530
  const snapshot = ingestError$9(luvio, resourceParams, response, {
2531
2531
  config,
2532
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
2532
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2533
2533
  });
2534
2534
  return luvio.storeBroadcast().then(() => snapshot);
2535
2535
  }
2536
- function buildNetworkSnapshot$g(luvio, config, options) {
2537
- const resourceParams = createResourceParams$g(config);
2538
- const request = createResourceRequest$g(resourceParams);
2536
+ function buildNetworkSnapshot$i(luvio, config, options) {
2537
+ const resourceParams = createResourceParams$i(config);
2538
+ const request = createResourceRequest$i(resourceParams);
2539
2539
  return luvio.dispatchResourceRequest(request, options)
2540
2540
  .then((response) => {
2541
2541
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
2542
2542
  const cache = new StoreKeyMap();
2543
- getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
2543
+ getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
2544
2544
  return cache;
2545
2545
  });
2546
2546
  }, (response) => {
@@ -2548,23 +2548,23 @@ function buildNetworkSnapshot$g(luvio, config, options) {
2548
2548
  });
2549
2549
  }
2550
2550
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
2551
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
2551
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
2552
2552
  }
2553
2553
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
2554
2554
  const { luvio, config } = context;
2555
2555
  const selector = {
2556
- recordId: keyBuilder$w(luvio, config),
2556
+ recordId: keyBuilder$x(luvio, config),
2557
2557
  node: adapterFragment$9(luvio, config),
2558
2558
  variables: {},
2559
2559
  };
2560
2560
  const cacheSnapshot = storeLookup(selector, {
2561
2561
  config,
2562
- resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
2562
+ resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
2563
2563
  });
2564
2564
  return cacheSnapshot;
2565
2565
  }
2566
2566
  const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModels(untrustedConfig, requestContext) {
2567
- const config = validateAdapterConfig$g(untrustedConfig, getSemanticModels_ConfigPropertyNames);
2567
+ const config = validateAdapterConfig$i(untrustedConfig, getSemanticModels_ConfigPropertyNames);
2568
2568
  // Invalid or incomplete config
2569
2569
  if (config === null) {
2570
2570
  return null;
@@ -4124,7 +4124,7 @@ function validate$y(obj, path = 'SemanticParameterInputRepresentation') {
4124
4124
  return v_error === undefined ? null : v_error;
4125
4125
  }
4126
4126
 
4127
- const VERSION$p = "51514a172af5e420504a2143725b4528";
4127
+ const VERSION$n = "51514a172af5e420504a2143725b4528";
4128
4128
  function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
4129
4129
  const v_error = (() => {
4130
4130
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4276,23 +4276,23 @@ function validate$x(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
4276
4276
  return v_error === undefined ? null : v_error;
4277
4277
  }
4278
4278
  const RepresentationType$f = 'SemanticCalculatedDimensionOutputRepresentation';
4279
- function keyBuilder$v(luvio, config) {
4279
+ function keyBuilder$w(luvio, config) {
4280
4280
  return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
4281
4281
  }
4282
4282
  function keyBuilderFromType$b(luvio, object) {
4283
4283
  const keyParams = {
4284
4284
  name: object.id
4285
4285
  };
4286
- return keyBuilder$v(luvio, keyParams);
4286
+ return keyBuilder$w(luvio, keyParams);
4287
4287
  }
4288
4288
  function normalize$f(input, existing, path, luvio, store, timestamp) {
4289
4289
  return input;
4290
4290
  }
4291
- const select$D = function SemanticCalculatedDimensionOutputRepresentationSelect() {
4292
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$O();
4291
+ const select$C = function SemanticCalculatedDimensionOutputRepresentationSelect() {
4292
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$N();
4293
4293
  return {
4294
4294
  kind: 'Fragment',
4295
- version: VERSION$p,
4295
+ version: VERSION$n,
4296
4296
  private: [],
4297
4297
  selections: [
4298
4298
  {
@@ -4396,7 +4396,7 @@ const select$D = function SemanticCalculatedDimensionOutputRepresentationSelect(
4396
4396
  ]
4397
4397
  };
4398
4398
  };
4399
- function equals$p(existing, incoming) {
4399
+ function equals$n(existing, incoming) {
4400
4400
  const existing_isVisible = existing.isVisible;
4401
4401
  const incoming_isVisible = incoming.isVisible;
4402
4402
  // if at least one of these optionals is defined
@@ -4622,7 +4622,7 @@ function equals$p(existing, incoming) {
4622
4622
  return false;
4623
4623
  }
4624
4624
  const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
4625
- if (!(equals$y(existing_filters_item, incoming_filters_item))) {
4625
+ if (!(equals$w(existing_filters_item, incoming_filters_item))) {
4626
4626
  return false;
4627
4627
  }
4628
4628
  });
@@ -4641,7 +4641,7 @@ const ingest$f = function SemanticCalculatedDimensionOutputRepresentationIngest(
4641
4641
  }
4642
4642
  const key = keyBuilderFromType$b(luvio, input);
4643
4643
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
4644
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$p, RepresentationType$f, equals$p);
4644
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "SemanticAuthoring", VERSION$n, RepresentationType$f, equals$n);
4645
4645
  return createLink(key);
4646
4646
  };
4647
4647
  function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
@@ -4654,7 +4654,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
4654
4654
  });
4655
4655
  }
4656
4656
 
4657
- const VERSION$o = "6c8d910667cf399d3aa6e5a57e1fdd61";
4657
+ const VERSION$m = "6c8d910667cf399d3aa6e5a57e1fdd61";
4658
4658
  function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
4659
4659
  const v_error = (() => {
4660
4660
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4848,23 +4848,23 @@ function validate$w(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
4848
4848
  return v_error === undefined ? null : v_error;
4849
4849
  }
4850
4850
  const RepresentationType$e = 'SemanticCalculatedMeasurementOutputRepresentation';
4851
- function keyBuilder$u(luvio, config) {
4851
+ function keyBuilder$v(luvio, config) {
4852
4852
  return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
4853
4853
  }
4854
4854
  function keyBuilderFromType$a(luvio, object) {
4855
4855
  const keyParams = {
4856
4856
  name: object.id
4857
4857
  };
4858
- return keyBuilder$u(luvio, keyParams);
4858
+ return keyBuilder$v(luvio, keyParams);
4859
4859
  }
4860
4860
  function normalize$e(input, existing, path, luvio, store, timestamp) {
4861
4861
  return input;
4862
4862
  }
4863
- const select$C = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
4864
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$O();
4863
+ const select$B = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
4864
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$N();
4865
4865
  return {
4866
4866
  kind: 'Fragment',
4867
- version: VERSION$o,
4867
+ version: VERSION$m,
4868
4868
  private: [],
4869
4869
  selections: [
4870
4870
  {
@@ -4998,7 +4998,7 @@ const select$C = function SemanticCalculatedMeasurementOutputRepresentationSelec
4998
4998
  ]
4999
4999
  };
5000
5000
  };
5001
- function equals$o(existing, incoming) {
5001
+ function equals$m(existing, incoming) {
5002
5002
  const existing_isAggregatable = existing.isAggregatable;
5003
5003
  const incoming_isAggregatable = incoming.isAggregatable;
5004
5004
  // if at least one of these optionals is defined
@@ -5302,7 +5302,7 @@ function equals$o(existing, incoming) {
5302
5302
  return false;
5303
5303
  }
5304
5304
  const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
5305
- if (!(equals$y(existing_filters_item, incoming_filters_item))) {
5305
+ if (!(equals$w(existing_filters_item, incoming_filters_item))) {
5306
5306
  return false;
5307
5307
  }
5308
5308
  });
@@ -5321,7 +5321,7 @@ const ingest$e = function SemanticCalculatedMeasurementOutputRepresentationInges
5321
5321
  }
5322
5322
  const key = keyBuilderFromType$a(luvio, input);
5323
5323
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
5324
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$o, RepresentationType$e, equals$o);
5324
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "SemanticAuthoring", VERSION$m, RepresentationType$e, equals$m);
5325
5325
  return createLink(key);
5326
5326
  };
5327
5327
  function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
@@ -5651,7 +5651,7 @@ function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
5651
5651
  return v_error === undefined ? null : v_error;
5652
5652
  }
5653
5653
 
5654
- const VERSION$n = "4f111b93807b811179eb310384efdc35";
5654
+ const VERSION$l = "4f111b93807b811179eb310384efdc35";
5655
5655
  function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
5656
5656
  const v_error = (() => {
5657
5657
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5823,27 +5823,27 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
5823
5823
  return v_error === undefined ? null : v_error;
5824
5824
  }
5825
5825
  const RepresentationType$d = 'SemanticDataObjectOutputRepresentation';
5826
- function keyBuilder$t(luvio, config) {
5826
+ function keyBuilder$u(luvio, config) {
5827
5827
  return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
5828
5828
  }
5829
5829
  function keyBuilderFromType$9(luvio, object) {
5830
5830
  const keyParams = {
5831
5831
  name: object.id
5832
5832
  };
5833
- return keyBuilder$t(luvio, keyParams);
5833
+ return keyBuilder$u(luvio, keyParams);
5834
5834
  }
5835
5835
  function normalize$d(input, existing, path, luvio, store, timestamp) {
5836
5836
  return input;
5837
5837
  }
5838
- const select$B = function SemanticDataObjectOutputRepresentationSelect() {
5838
+ const select$A = function SemanticDataObjectOutputRepresentationSelect() {
5839
5839
  return {
5840
5840
  kind: 'Fragment',
5841
- version: VERSION$n,
5841
+ version: VERSION$l,
5842
5842
  private: [],
5843
5843
  opaque: true
5844
5844
  };
5845
5845
  };
5846
- function equals$n(existing, incoming) {
5846
+ function equals$l(existing, incoming) {
5847
5847
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
5848
5848
  return false;
5849
5849
  }
@@ -5858,7 +5858,7 @@ const ingest$d = function SemanticDataObjectOutputRepresentationIngest(input, pa
5858
5858
  }
5859
5859
  const key = keyBuilderFromType$9(luvio, input);
5860
5860
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
5861
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$n, RepresentationType$d, equals$n);
5861
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "SemanticAuthoring", VERSION$l, RepresentationType$d, equals$l);
5862
5862
  return createLink(key);
5863
5863
  };
5864
5864
  function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
@@ -5871,7 +5871,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
5871
5871
  });
5872
5872
  }
5873
5873
 
5874
- const VERSION$m = "ed64ca1a99171ace8b53aff11746cc2a";
5874
+ const VERSION$k = "ed64ca1a99171ace8b53aff11746cc2a";
5875
5875
  function validate$s(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
5876
5876
  const v_error = (() => {
5877
5877
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5881,10 +5881,10 @@ function validate$s(obj, path = 'BinDimensionConfigurationOutputRepresentation')
5881
5881
  })();
5882
5882
  return v_error === undefined ? null : v_error;
5883
5883
  }
5884
- const select$A = function BinDimensionConfigurationOutputRepresentationSelect() {
5884
+ const select$z = function BinDimensionConfigurationOutputRepresentationSelect() {
5885
5885
  return {
5886
5886
  kind: 'Fragment',
5887
- version: VERSION$m,
5887
+ version: VERSION$k,
5888
5888
  private: [],
5889
5889
  selections: [
5890
5890
  {
@@ -5894,7 +5894,7 @@ const select$A = function BinDimensionConfigurationOutputRepresentationSelect()
5894
5894
  ]
5895
5895
  };
5896
5896
  };
5897
- function equals$m(existing, incoming) {
5897
+ function equals$k(existing, incoming) {
5898
5898
  const existing_constantBinSize = existing.constantBinSize;
5899
5899
  const incoming_constantBinSize = incoming.constantBinSize;
5900
5900
  if (!(existing_constantBinSize === incoming_constantBinSize)) {
@@ -5903,7 +5903,7 @@ function equals$m(existing, incoming) {
5903
5903
  return true;
5904
5904
  }
5905
5905
 
5906
- const VERSION$l = "2cdadcd630abb7b981b2d131880a68c0";
5906
+ const VERSION$j = "2cdadcd630abb7b981b2d131880a68c0";
5907
5907
  function validate$r(obj, path = 'GroupDimensionGroupOutputRepresentation') {
5908
5908
  const v_error = (() => {
5909
5909
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5931,10 +5931,10 @@ function validate$r(obj, path = 'GroupDimensionGroupOutputRepresentation') {
5931
5931
  })();
5932
5932
  return v_error === undefined ? null : v_error;
5933
5933
  }
5934
- const select$z = function GroupDimensionGroupOutputRepresentationSelect() {
5934
+ const select$y = function GroupDimensionGroupOutputRepresentationSelect() {
5935
5935
  return {
5936
5936
  kind: 'Fragment',
5937
- version: VERSION$l,
5937
+ version: VERSION$j,
5938
5938
  private: [],
5939
5939
  selections: [
5940
5940
  {
@@ -5950,7 +5950,7 @@ const select$z = function GroupDimensionGroupOutputRepresentationSelect() {
5950
5950
  ]
5951
5951
  };
5952
5952
  };
5953
- function equals$l(existing, incoming) {
5953
+ function equals$j(existing, incoming) {
5954
5954
  const existing_name = existing.name;
5955
5955
  const incoming_name = incoming.name;
5956
5956
  if (!(existing_name === incoming_name)) {
@@ -5977,7 +5977,7 @@ function equals$l(existing, incoming) {
5977
5977
  return true;
5978
5978
  }
5979
5979
 
5980
- const VERSION$k = "55c60b6207985632192cb4e419822a86";
5980
+ const VERSION$i = "55c60b6207985632192cb4e419822a86";
5981
5981
  function validate$q(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
5982
5982
  const v_error = (() => {
5983
5983
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6010,11 +6010,11 @@ function validate$q(obj, path = 'GroupDimensionConfigurationOutputRepresentation
6010
6010
  })();
6011
6011
  return v_error === undefined ? null : v_error;
6012
6012
  }
6013
- const select$y = function GroupDimensionConfigurationOutputRepresentationSelect() {
6014
- const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$z();
6013
+ const select$x = function GroupDimensionConfigurationOutputRepresentationSelect() {
6014
+ const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$y();
6015
6015
  return {
6016
6016
  kind: 'Fragment',
6017
- version: VERSION$k,
6017
+ version: VERSION$i,
6018
6018
  private: [],
6019
6019
  selections: [
6020
6020
  {
@@ -6032,7 +6032,7 @@ const select$y = function GroupDimensionConfigurationOutputRepresentationSelect(
6032
6032
  ]
6033
6033
  };
6034
6034
  };
6035
- function equals$k(existing, incoming) {
6035
+ function equals$i(existing, incoming) {
6036
6036
  const existing_ungroupedValuesGroupName = existing.ungroupedValuesGroupName;
6037
6037
  const incoming_ungroupedValuesGroupName = incoming.ungroupedValuesGroupName;
6038
6038
  // if at least one of these optionals is defined
@@ -6056,7 +6056,7 @@ function equals$k(existing, incoming) {
6056
6056
  return false;
6057
6057
  }
6058
6058
  const equals_groups_items = equalsArray(existing_groups, incoming_groups, (existing_groups_item, incoming_groups_item) => {
6059
- if (!(equals$l(existing_groups_item, incoming_groups_item))) {
6059
+ if (!(equals$j(existing_groups_item, incoming_groups_item))) {
6060
6060
  return false;
6061
6061
  }
6062
6062
  });
@@ -6067,7 +6067,7 @@ function equals$k(existing, incoming) {
6067
6067
  return true;
6068
6068
  }
6069
6069
 
6070
- const VERSION$j = "50dc390b159159afb1945b9a811c9f80";
6070
+ const VERSION$h = "50dc390b159159afb1945b9a811c9f80";
6071
6071
  function validate$p(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
6072
6072
  const v_error = (() => {
6073
6073
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6096,12 +6096,12 @@ function validate$p(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
6096
6096
  })();
6097
6097
  return v_error === undefined ? null : v_error;
6098
6098
  }
6099
- const select$x = function SemanticGroupingConfigurationOutputRepresentationSelect() {
6100
- const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$A();
6101
- const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$y();
6099
+ const select$w = function SemanticGroupingConfigurationOutputRepresentationSelect() {
6100
+ const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$z();
6101
+ const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$x();
6102
6102
  return {
6103
6103
  kind: 'Fragment',
6104
- version: VERSION$j,
6104
+ version: VERSION$h,
6105
6105
  private: [],
6106
6106
  selections: [
6107
6107
  {
@@ -6119,7 +6119,7 @@ const select$x = function SemanticGroupingConfigurationOutputRepresentationSelec
6119
6119
  ]
6120
6120
  };
6121
6121
  };
6122
- function equals$j(existing, incoming) {
6122
+ function equals$h(existing, incoming) {
6123
6123
  const existing_binDimension = existing.binDimension;
6124
6124
  const incoming_binDimension = incoming.binDimension;
6125
6125
  // if at least one of these optionals is defined
@@ -6129,7 +6129,7 @@ function equals$j(existing, incoming) {
6129
6129
  if (existing_binDimension === undefined || incoming_binDimension === undefined) {
6130
6130
  return false;
6131
6131
  }
6132
- if (!(equals$m(existing_binDimension, incoming_binDimension))) {
6132
+ if (!(equals$k(existing_binDimension, incoming_binDimension))) {
6133
6133
  return false;
6134
6134
  }
6135
6135
  }
@@ -6142,14 +6142,14 @@ function equals$j(existing, incoming) {
6142
6142
  if (existing_groupDimension === undefined || incoming_groupDimension === undefined) {
6143
6143
  return false;
6144
6144
  }
6145
- if (!(equals$k(existing_groupDimension, incoming_groupDimension))) {
6145
+ if (!(equals$i(existing_groupDimension, incoming_groupDimension))) {
6146
6146
  return false;
6147
6147
  }
6148
6148
  }
6149
6149
  return true;
6150
6150
  }
6151
6151
 
6152
- const VERSION$i = "1daec40706bf767c719fa58831fad462";
6152
+ const VERSION$g = "1daec40706bf767c719fa58831fad462";
6153
6153
  function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
6154
6154
  const v_error = (() => {
6155
6155
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6242,24 +6242,24 @@ function validate$o(obj, path = 'SemanticGroupingOutputRepresentation') {
6242
6242
  return v_error === undefined ? null : v_error;
6243
6243
  }
6244
6244
  const RepresentationType$c = 'SemanticGroupingOutputRepresentation';
6245
- function keyBuilder$s(luvio, config) {
6245
+ function keyBuilder$t(luvio, config) {
6246
6246
  return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
6247
6247
  }
6248
6248
  function keyBuilderFromType$8(luvio, object) {
6249
6249
  const keyParams = {
6250
6250
  name: object.id
6251
6251
  };
6252
- return keyBuilder$s(luvio, keyParams);
6252
+ return keyBuilder$t(luvio, keyParams);
6253
6253
  }
6254
6254
  function normalize$c(input, existing, path, luvio, store, timestamp) {
6255
6255
  return input;
6256
6256
  }
6257
- const select$w = function SemanticGroupingOutputRepresentationSelect() {
6258
- const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$x();
6259
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$P();
6257
+ const select$v = function SemanticGroupingOutputRepresentationSelect() {
6258
+ const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$w();
6259
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$O();
6260
6260
  return {
6261
6261
  kind: 'Fragment',
6262
- version: VERSION$i,
6262
+ version: VERSION$g,
6263
6263
  private: [],
6264
6264
  selections: [
6265
6265
  {
@@ -6325,7 +6325,7 @@ const select$w = function SemanticGroupingOutputRepresentationSelect() {
6325
6325
  ]
6326
6326
  };
6327
6327
  };
6328
- function equals$i(existing, incoming) {
6328
+ function equals$g(existing, incoming) {
6329
6329
  const existing_apiName = existing.apiName;
6330
6330
  const incoming_apiName = incoming.apiName;
6331
6331
  if (!(existing_apiName === incoming_apiName)) {
@@ -6431,12 +6431,12 @@ function equals$i(existing, incoming) {
6431
6431
  }
6432
6432
  const existing_configuration = existing.configuration;
6433
6433
  const incoming_configuration = incoming.configuration;
6434
- if (!(equals$j(existing_configuration, incoming_configuration))) {
6434
+ if (!(equals$h(existing_configuration, incoming_configuration))) {
6435
6435
  return false;
6436
6436
  }
6437
6437
  const existing_fieldReference = existing.fieldReference;
6438
6438
  const incoming_fieldReference = incoming.fieldReference;
6439
- if (!(equals$z(existing_fieldReference, incoming_fieldReference))) {
6439
+ if (!(equals$x(existing_fieldReference, incoming_fieldReference))) {
6440
6440
  return false;
6441
6441
  }
6442
6442
  return true;
@@ -6450,7 +6450,7 @@ const ingest$c = function SemanticGroupingOutputRepresentationIngest(input, path
6450
6450
  }
6451
6451
  const key = keyBuilderFromType$8(luvio, input);
6452
6452
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
6453
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$i, RepresentationType$c, equals$i);
6453
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "SemanticAuthoring", VERSION$g, RepresentationType$c, equals$g);
6454
6454
  return createLink(key);
6455
6455
  };
6456
6456
  function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
@@ -6463,7 +6463,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
6463
6463
  });
6464
6464
  }
6465
6465
 
6466
- const VERSION$h = "c5144c317ac72b60d580cab803514b8d";
6466
+ const VERSION$f = "c5144c317ac72b60d580cab803514b8d";
6467
6467
  function validate$n(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
6468
6468
  const v_error = (() => {
6469
6469
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6507,10 +6507,10 @@ function validate$n(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
6507
6507
  })();
6508
6508
  return v_error === undefined ? null : v_error;
6509
6509
  }
6510
- const select$v = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
6510
+ const select$u = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
6511
6511
  return {
6512
6512
  kind: 'Fragment',
6513
- version: VERSION$h,
6513
+ version: VERSION$f,
6514
6514
  private: [],
6515
6515
  selections: [
6516
6516
  {
@@ -6541,7 +6541,7 @@ const select$v = function SemanticRelationshipCriteriaOutputRepresentationSelect
6541
6541
  ]
6542
6542
  };
6543
6543
  };
6544
- function equals$h(existing, incoming) {
6544
+ function equals$f(existing, incoming) {
6545
6545
  const existing_joinOperator = existing.joinOperator;
6546
6546
  const incoming_joinOperator = incoming.joinOperator;
6547
6547
  // if at least one of these optionals is defined
@@ -6610,7 +6610,7 @@ function equals$h(existing, incoming) {
6610
6610
  return true;
6611
6611
  }
6612
6612
 
6613
- const VERSION$g = "b9778dace5726fcb57804d3afd529246";
6613
+ const VERSION$e = "b9778dace5726fcb57804d3afd529246";
6614
6614
  function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
6615
6615
  const v_error = (() => {
6616
6616
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6741,23 +6741,23 @@ function validate$m(obj, path = 'SemanticRelationshipOutputRepresentation') {
6741
6741
  return v_error === undefined ? null : v_error;
6742
6742
  }
6743
6743
  const RepresentationType$b = 'SemanticRelationshipOutputRepresentation';
6744
- function keyBuilder$r(luvio, config) {
6744
+ function keyBuilder$s(luvio, config) {
6745
6745
  return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
6746
6746
  }
6747
6747
  function keyBuilderFromType$7(luvio, object) {
6748
6748
  const keyParams = {
6749
6749
  name: object.id
6750
6750
  };
6751
- return keyBuilder$r(luvio, keyParams);
6751
+ return keyBuilder$s(luvio, keyParams);
6752
6752
  }
6753
6753
  function normalize$b(input, existing, path, luvio, store, timestamp) {
6754
6754
  return input;
6755
6755
  }
6756
- const select$u = function SemanticRelationshipOutputRepresentationSelect() {
6757
- const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$v();
6756
+ const select$t = function SemanticRelationshipOutputRepresentationSelect() {
6757
+ const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$u();
6758
6758
  return {
6759
6759
  kind: 'Fragment',
6760
- version: VERSION$g,
6760
+ version: VERSION$e,
6761
6761
  private: [],
6762
6762
  selections: [
6763
6763
  {
@@ -6846,7 +6846,7 @@ const select$u = function SemanticRelationshipOutputRepresentationSelect() {
6846
6846
  ]
6847
6847
  };
6848
6848
  };
6849
- function equals$g(existing, incoming) {
6849
+ function equals$e(existing, incoming) {
6850
6850
  const existing_isEnabled = existing.isEnabled;
6851
6851
  const incoming_isEnabled = incoming.isEnabled;
6852
6852
  // if at least one of these optionals is defined
@@ -7033,7 +7033,7 @@ function equals$g(existing, incoming) {
7033
7033
  return false;
7034
7034
  }
7035
7035
  const equals_criteria_items = equalsArray(existing_criteria, incoming_criteria, (existing_criteria_item, incoming_criteria_item) => {
7036
- if (!(equals$h(existing_criteria_item, incoming_criteria_item))) {
7036
+ if (!(equals$f(existing_criteria_item, incoming_criteria_item))) {
7037
7037
  return false;
7038
7038
  }
7039
7039
  });
@@ -7052,7 +7052,7 @@ const ingest$b = function SemanticRelationshipOutputRepresentationIngest(input,
7052
7052
  }
7053
7053
  const key = keyBuilderFromType$7(luvio, input);
7054
7054
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
7055
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$g, RepresentationType$b, equals$g);
7055
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "SemanticAuthoring", VERSION$e, RepresentationType$b, equals$e);
7056
7056
  return createLink(key);
7057
7057
  };
7058
7058
  function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
@@ -7065,7 +7065,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
7065
7065
  });
7066
7066
  }
7067
7067
 
7068
- const VERSION$f = "eaf9b57a92e764fb2b5c27b6e031cfe1";
7068
+ const VERSION$d = "eaf9b57a92e764fb2b5c27b6e031cfe1";
7069
7069
  function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
7070
7070
  const v_error = (() => {
7071
7071
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7181,27 +7181,27 @@ function validate$l(obj, path = 'SemanticMappedFieldOutputRepresentation') {
7181
7181
  return v_error === undefined ? null : v_error;
7182
7182
  }
7183
7183
  const RepresentationType$a = 'SemanticMappedFieldOutputRepresentation';
7184
- function keyBuilder$q(luvio, config) {
7184
+ function keyBuilder$r(luvio, config) {
7185
7185
  return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
7186
7186
  }
7187
7187
  function keyBuilderFromType$6(luvio, object) {
7188
7188
  const keyParams = {
7189
7189
  name: object.id
7190
7190
  };
7191
- return keyBuilder$q(luvio, keyParams);
7191
+ return keyBuilder$r(luvio, keyParams);
7192
7192
  }
7193
7193
  function normalize$a(input, existing, path, luvio, store, timestamp) {
7194
7194
  return input;
7195
7195
  }
7196
- const select$t = function SemanticMappedFieldOutputRepresentationSelect() {
7196
+ const select$s = function SemanticMappedFieldOutputRepresentationSelect() {
7197
7197
  return {
7198
7198
  kind: 'Fragment',
7199
- version: VERSION$f,
7199
+ version: VERSION$d,
7200
7200
  private: [],
7201
7201
  opaque: true
7202
7202
  };
7203
7203
  };
7204
- function equals$f(existing, incoming) {
7204
+ function equals$d(existing, incoming) {
7205
7205
  if (JSONStringify(incoming) !== JSONStringify(existing)) {
7206
7206
  return false;
7207
7207
  }
@@ -7216,7 +7216,7 @@ const ingest$a = function SemanticMappedFieldOutputRepresentationIngest(input, p
7216
7216
  }
7217
7217
  const key = keyBuilderFromType$6(luvio, input);
7218
7218
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
7219
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$f, RepresentationType$a, equals$f);
7219
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "SemanticAuthoring", VERSION$d, RepresentationType$a, equals$d);
7220
7220
  return createLink(key);
7221
7221
  };
7222
7222
  function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
@@ -7229,7 +7229,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
7229
7229
  });
7230
7230
  }
7231
7231
 
7232
- const VERSION$e = "69fe23112140e9fae50135dcb15c24c2";
7232
+ const VERSION$c = "69fe23112140e9fae50135dcb15c24c2";
7233
7233
  function validate$k(obj, path = 'SemanticUnionOutputRepresentation') {
7234
7234
  const v_error = (() => {
7235
7235
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7357,14 +7357,14 @@ function validate$k(obj, path = 'SemanticUnionOutputRepresentation') {
7357
7357
  return v_error === undefined ? null : v_error;
7358
7358
  }
7359
7359
  const RepresentationType$9 = 'SemanticUnionOutputRepresentation';
7360
- function keyBuilder$p(luvio, config) {
7360
+ function keyBuilder$q(luvio, config) {
7361
7361
  return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
7362
7362
  }
7363
7363
  function keyBuilderFromType$5(luvio, object) {
7364
7364
  const keyParams = {
7365
7365
  name: object.id
7366
7366
  };
7367
- return keyBuilder$p(luvio, keyParams);
7367
+ return keyBuilder$q(luvio, keyParams);
7368
7368
  }
7369
7369
  function normalize$9(input, existing, path, luvio, store, timestamp) {
7370
7370
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -7405,10 +7405,10 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
7405
7405
  }
7406
7406
  return input;
7407
7407
  }
7408
- const select$s = function SemanticUnionOutputRepresentationSelect() {
7408
+ const select$r = function SemanticUnionOutputRepresentationSelect() {
7409
7409
  return {
7410
7410
  kind: 'Fragment',
7411
- version: VERSION$e,
7411
+ version: VERSION$c,
7412
7412
  private: [],
7413
7413
  selections: [
7414
7414
  {
@@ -7467,19 +7467,19 @@ const select$s = function SemanticUnionOutputRepresentationSelect() {
7467
7467
  kind: 'Link',
7468
7468
  plural: true,
7469
7469
  required: false,
7470
- fragment: select$B()
7470
+ fragment: select$A()
7471
7471
  },
7472
7472
  {
7473
7473
  name: 'semanticMappedFields',
7474
7474
  kind: 'Link',
7475
7475
  plural: true,
7476
7476
  required: false,
7477
- fragment: select$t()
7477
+ fragment: select$s()
7478
7478
  }
7479
7479
  ]
7480
7480
  };
7481
7481
  };
7482
- function equals$e(existing, incoming) {
7482
+ function equals$c(existing, incoming) {
7483
7483
  const existing_apiName = existing.apiName;
7484
7484
  const incoming_apiName = incoming.apiName;
7485
7485
  if (!(existing_apiName === incoming_apiName)) {
@@ -7638,7 +7638,7 @@ const ingest$9 = function SemanticUnionOutputRepresentationIngest(input, path, l
7638
7638
  }
7639
7639
  const key = keyBuilderFromType$5(luvio, input);
7640
7640
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
7641
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$e, RepresentationType$9, equals$e);
7641
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "SemanticAuthoring", VERSION$c, RepresentationType$9, equals$c);
7642
7642
  return createLink(key);
7643
7643
  };
7644
7644
  function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
@@ -7663,7 +7663,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
7663
7663
  }
7664
7664
  }
7665
7665
 
7666
- const VERSION$d = "f186bf0514421e7f42e284136d60ea6c";
7666
+ const VERSION$b = "f186bf0514421e7f42e284136d60ea6c";
7667
7667
  function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7668
7668
  const v_error = (() => {
7669
7669
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7815,14 +7815,14 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7815
7815
  return v_error === undefined ? null : v_error;
7816
7816
  }
7817
7817
  const RepresentationType$8 = 'SemanticLogicalViewOutputRepresentation';
7818
- function keyBuilder$o(luvio, config) {
7818
+ function keyBuilder$p(luvio, config) {
7819
7819
  return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
7820
7820
  }
7821
7821
  function keyBuilderFromType$4(luvio, object) {
7822
7822
  const keyParams = {
7823
7823
  name: object.id
7824
7824
  };
7825
- return keyBuilder$o(luvio, keyParams);
7825
+ return keyBuilder$p(luvio, keyParams);
7826
7826
  }
7827
7827
  function normalize$8(input, existing, path, luvio, store, timestamp) {
7828
7828
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -7881,11 +7881,11 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
7881
7881
  }
7882
7882
  return input;
7883
7883
  }
7884
- const select$r = function SemanticLogicalViewOutputRepresentationSelect() {
7885
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$O();
7884
+ const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
7885
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$N();
7886
7886
  return {
7887
7887
  kind: 'Fragment',
7888
- version: VERSION$d,
7888
+ version: VERSION$b,
7889
7889
  private: [],
7890
7890
  selections: [
7891
7891
  {
@@ -7956,21 +7956,21 @@ const select$r = function SemanticLogicalViewOutputRepresentationSelect() {
7956
7956
  kind: 'Link',
7957
7957
  plural: true,
7958
7958
  required: false,
7959
- fragment: select$B()
7959
+ fragment: select$A()
7960
7960
  },
7961
7961
  {
7962
7962
  name: 'semanticRelationships',
7963
7963
  kind: 'Link',
7964
7964
  plural: true,
7965
7965
  required: false,
7966
- fragment: select$u()
7966
+ fragment: select$t()
7967
7967
  },
7968
7968
  {
7969
7969
  name: 'semanticUnions',
7970
7970
  kind: 'Link',
7971
7971
  plural: true,
7972
7972
  required: false,
7973
- fragment: select$s()
7973
+ fragment: select$r()
7974
7974
  },
7975
7975
  {
7976
7976
  name: 'semanticViewTypeEnum',
@@ -7980,7 +7980,7 @@ const select$r = function SemanticLogicalViewOutputRepresentationSelect() {
7980
7980
  ]
7981
7981
  };
7982
7982
  };
7983
- function equals$d(existing, incoming) {
7983
+ function equals$b(existing, incoming) {
7984
7984
  const existing_apiName = existing.apiName;
7985
7985
  const incoming_apiName = incoming.apiName;
7986
7986
  if (!(existing_apiName === incoming_apiName)) {
@@ -8128,7 +8128,7 @@ function equals$d(existing, incoming) {
8128
8128
  return false;
8129
8129
  }
8130
8130
  const equals_filters_items = equalsArray(existing_filters, incoming_filters, (existing_filters_item, incoming_filters_item) => {
8131
- if (!(equals$y(existing_filters_item, incoming_filters_item))) {
8131
+ if (!(equals$w(existing_filters_item, incoming_filters_item))) {
8132
8132
  return false;
8133
8133
  }
8134
8134
  });
@@ -8201,7 +8201,7 @@ const ingest$8 = function SemanticLogicalViewOutputRepresentationIngest(input, p
8201
8201
  }
8202
8202
  const key = keyBuilderFromType$4(luvio, input);
8203
8203
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
8204
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$d, RepresentationType$8, equals$d);
8204
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "SemanticAuthoring", VERSION$b, RepresentationType$8, equals$b);
8205
8205
  return createLink(key);
8206
8206
  };
8207
8207
  function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
@@ -8232,7 +8232,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
8232
8232
  }
8233
8233
  }
8234
8234
 
8235
- const VERSION$c = "158d115be773406f841e4351d481d398";
8235
+ const VERSION$a = "158d115be773406f841e4351d481d398";
8236
8236
  function validate$i(obj, path = 'SemanticParameterListValueOutputRepresentation') {
8237
8237
  const v_error = (() => {
8238
8238
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -8255,10 +8255,10 @@ function validate$i(obj, path = 'SemanticParameterListValueOutputRepresentation'
8255
8255
  })();
8256
8256
  return v_error === undefined ? null : v_error;
8257
8257
  }
8258
- const select$q = function SemanticParameterListValueOutputRepresentationSelect() {
8258
+ const select$p = function SemanticParameterListValueOutputRepresentationSelect() {
8259
8259
  return {
8260
8260
  kind: 'Fragment',
8261
- version: VERSION$c,
8261
+ version: VERSION$a,
8262
8262
  private: [],
8263
8263
  selections: [
8264
8264
  {
@@ -8274,7 +8274,7 @@ const select$q = function SemanticParameterListValueOutputRepresentationSelect()
8274
8274
  ]
8275
8275
  };
8276
8276
  };
8277
- function equals$c(existing, incoming) {
8277
+ function equals$a(existing, incoming) {
8278
8278
  const existing_displayName = existing.displayName;
8279
8279
  const incoming_displayName = incoming.displayName;
8280
8280
  // if at least one of these optionals is defined
@@ -8304,7 +8304,7 @@ function equals$c(existing, incoming) {
8304
8304
  return true;
8305
8305
  }
8306
8306
 
8307
- const VERSION$b = "6ed89c4ce77235d13ce6bb395ae49d8e";
8307
+ const VERSION$9 = "6ed89c4ce77235d13ce6bb395ae49d8e";
8308
8308
  function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
8309
8309
  const v_error = (() => {
8310
8310
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -8449,23 +8449,23 @@ function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
8449
8449
  return v_error === undefined ? null : v_error;
8450
8450
  }
8451
8451
  const RepresentationType$7 = 'SemanticParameterOutputRepresentation';
8452
- function keyBuilder$n(luvio, config) {
8452
+ function keyBuilder$o(luvio, config) {
8453
8453
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.name;
8454
8454
  }
8455
8455
  function keyBuilderFromType$3(luvio, object) {
8456
8456
  const keyParams = {
8457
8457
  name: object.id
8458
8458
  };
8459
- return keyBuilder$n(luvio, keyParams);
8459
+ return keyBuilder$o(luvio, keyParams);
8460
8460
  }
8461
8461
  function normalize$7(input, existing, path, luvio, store, timestamp) {
8462
8462
  return input;
8463
8463
  }
8464
- const select$p = function SemanticParameterOutputRepresentationSelect() {
8465
- const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$q();
8464
+ const select$o = function SemanticParameterOutputRepresentationSelect() {
8465
+ const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$p();
8466
8466
  return {
8467
8467
  kind: 'Fragment',
8468
- version: VERSION$b,
8468
+ version: VERSION$9,
8469
8469
  private: [],
8470
8470
  selections: [
8471
8471
  {
@@ -8560,7 +8560,7 @@ const select$p = function SemanticParameterOutputRepresentationSelect() {
8560
8560
  ]
8561
8561
  };
8562
8562
  };
8563
- function equals$b(existing, incoming) {
8563
+ function equals$9(existing, incoming) {
8564
8564
  const existing_apiName = existing.apiName;
8565
8565
  const incoming_apiName = incoming.apiName;
8566
8566
  if (!(existing_apiName === incoming_apiName)) {
@@ -8747,7 +8747,7 @@ function equals$b(existing, incoming) {
8747
8747
  return false;
8748
8748
  }
8749
8749
  const equals_allowedValues_items = equalsArray(existing_allowedValues, incoming_allowedValues, (existing_allowedValues_item, incoming_allowedValues_item) => {
8750
- if (!(equals$c(existing_allowedValues_item, incoming_allowedValues_item))) {
8750
+ if (!(equals$a(existing_allowedValues_item, incoming_allowedValues_item))) {
8751
8751
  return false;
8752
8752
  }
8753
8753
  });
@@ -8784,7 +8784,7 @@ const ingest$7 = function SemanticParameterOutputRepresentationIngest(input, pat
8784
8784
  }
8785
8785
  const key = keyBuilderFromType$3(luvio, input);
8786
8786
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
8787
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$b, RepresentationType$7, equals$b);
8787
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "SemanticAuthoring", VERSION$9, RepresentationType$7, equals$9);
8788
8788
  return createLink(key);
8789
8789
  };
8790
8790
  function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
@@ -8797,7 +8797,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
8797
8797
  });
8798
8798
  }
8799
8799
 
8800
- const VERSION$a = "5cda82e85d7322d459ba16b10b81ee96";
8800
+ const VERSION$8 = "5cda82e85d7322d459ba16b10b81ee96";
8801
8801
  function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
8802
8802
  const v_error = (() => {
8803
8803
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -9115,14 +9115,14 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
9115
9115
  return v_error === undefined ? null : v_error;
9116
9116
  }
9117
9117
  const RepresentationType$6 = 'SemanticModelOutputRepresentation';
9118
- function keyBuilder$m(luvio, config) {
9118
+ function keyBuilder$n(luvio, config) {
9119
9119
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.name;
9120
9120
  }
9121
9121
  function keyBuilderFromType$2(luvio, object) {
9122
9122
  const keyParams = {
9123
9123
  name: object.id
9124
9124
  };
9125
- return keyBuilder$m(luvio, keyParams);
9125
+ return keyBuilder$n(luvio, keyParams);
9126
9126
  }
9127
9127
  function normalize$6(input, existing, path, luvio, store, timestamp) {
9128
9128
  const input_semanticCalculatedDimensions = input.semanticCalculatedDimensions;
@@ -9271,11 +9271,11 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
9271
9271
  }
9272
9272
  return input;
9273
9273
  }
9274
- const select$o = function SemanticModelOutputRepresentationSelect() {
9275
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$H();
9274
+ const select$n = function SemanticModelOutputRepresentationSelect() {
9275
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$G();
9276
9276
  return {
9277
9277
  kind: 'Fragment',
9278
- version: VERSION$a,
9278
+ version: VERSION$8,
9279
9279
  private: [],
9280
9280
  selections: [
9281
9281
  {
@@ -9361,7 +9361,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
9361
9361
  kind: 'Link',
9362
9362
  plural: true,
9363
9363
  required: false,
9364
- fragment: select$D()
9364
+ fragment: select$C()
9365
9365
  },
9366
9366
  {
9367
9367
  name: 'semanticCalculatedDimensionsUrl',
@@ -9373,7 +9373,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
9373
9373
  kind: 'Link',
9374
9374
  plural: true,
9375
9375
  required: false,
9376
- fragment: select$C()
9376
+ fragment: select$B()
9377
9377
  },
9378
9378
  {
9379
9379
  name: 'semanticCalculatedMeasurementsUrl',
@@ -9385,7 +9385,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
9385
9385
  kind: 'Link',
9386
9386
  plural: true,
9387
9387
  required: false,
9388
- fragment: select$B()
9388
+ fragment: select$A()
9389
9389
  },
9390
9390
  {
9391
9391
  name: 'semanticDataObjectsUrl',
@@ -9397,7 +9397,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
9397
9397
  kind: 'Link',
9398
9398
  plural: true,
9399
9399
  required: false,
9400
- fragment: select$w()
9400
+ fragment: select$v()
9401
9401
  },
9402
9402
  {
9403
9403
  name: 'semanticGroupingsUrl',
@@ -9409,21 +9409,21 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
9409
9409
  kind: 'Link',
9410
9410
  plural: true,
9411
9411
  required: false,
9412
- fragment: select$r()
9412
+ fragment: select$q()
9413
9413
  },
9414
9414
  {
9415
9415
  name: 'semanticMetrics',
9416
9416
  kind: 'Link',
9417
9417
  plural: true,
9418
9418
  required: false,
9419
- fragment: select$K()
9419
+ fragment: select$J()
9420
9420
  },
9421
9421
  {
9422
9422
  name: 'semanticParameters',
9423
9423
  kind: 'Link',
9424
9424
  plural: true,
9425
9425
  required: false,
9426
- fragment: select$p()
9426
+ fragment: select$o()
9427
9427
  },
9428
9428
  {
9429
9429
  name: 'semanticParametersUrl',
@@ -9435,7 +9435,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
9435
9435
  kind: 'Link',
9436
9436
  plural: true,
9437
9437
  required: false,
9438
- fragment: select$u()
9438
+ fragment: select$t()
9439
9439
  },
9440
9440
  {
9441
9441
  name: 'semanticRelationshipsUrl',
@@ -9455,7 +9455,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
9455
9455
  ]
9456
9456
  };
9457
9457
  };
9458
- function equals$a(existing, incoming) {
9458
+ function equals$8(existing, incoming) {
9459
9459
  const existing_isLocked = existing.isLocked;
9460
9460
  const incoming_isLocked = incoming.isLocked;
9461
9461
  // if at least one of these optionals is defined
@@ -9699,7 +9699,7 @@ function equals$a(existing, incoming) {
9699
9699
  return false;
9700
9700
  }
9701
9701
  const equals_baseModels_items = equalsArray(existing_baseModels, incoming_baseModels, (existing_baseModels_item, incoming_baseModels_item) => {
9702
- if (!(equals$s(existing_baseModels_item, incoming_baseModels_item))) {
9702
+ if (!(equals$q(existing_baseModels_item, incoming_baseModels_item))) {
9703
9703
  return false;
9704
9704
  }
9705
9705
  });
@@ -9893,7 +9893,7 @@ const ingest$6 = function SemanticModelOutputRepresentationIngest(input, path, l
9893
9893
  }
9894
9894
  const key = keyBuilderFromType$2(luvio, input);
9895
9895
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
9896
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$a, RepresentationType$6, equals$a);
9896
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "SemanticAuthoring", VERSION$8, RepresentationType$6, equals$8);
9897
9897
  return createLink(key);
9898
9898
  };
9899
9899
  function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
@@ -9954,19 +9954,19 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
9954
9954
  }
9955
9955
  }
9956
9956
 
9957
- function select$n(luvio, params) {
9958
- return select$o();
9957
+ function select$m(luvio, params) {
9958
+ return select$n();
9959
9959
  }
9960
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
9960
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
9961
9961
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
9962
9962
  }
9963
- function ingestSuccess$d(luvio, resourceParams, response) {
9963
+ function ingestSuccess$e(luvio, resourceParams, response) {
9964
9964
  const { body } = response;
9965
9965
  const key = keyBuilderFromType$2(luvio, body);
9966
9966
  luvio.storeIngest(key, ingest$6, body);
9967
9967
  const snapshot = luvio.storeLookup({
9968
9968
  recordId: key,
9969
- node: select$n(),
9969
+ node: select$m(),
9970
9970
  variables: {},
9971
9971
  });
9972
9972
  if (process.env.NODE_ENV !== 'production') {
@@ -9977,7 +9977,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
9977
9977
  deepFreeze(snapshot.data);
9978
9978
  return snapshot;
9979
9979
  }
9980
- function createResourceRequest$f(config) {
9980
+ function createResourceRequest$h(config) {
9981
9981
  const headers = {};
9982
9982
  return {
9983
9983
  baseUri: '/services/data/v64.0',
@@ -9991,7 +9991,7 @@ function createResourceRequest$f(config) {
9991
9991
  };
9992
9992
  }
9993
9993
 
9994
- const adapterName$f = 'createSemanticModel';
9994
+ const adapterName$h = 'createSemanticModel';
9995
9995
  const createSemanticModel_ConfigPropertyMetadata = [
9996
9996
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
9997
9997
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
@@ -10012,11 +10012,11 @@ const createSemanticModel_ConfigPropertyMetadata = [
10012
10012
  generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
10013
10013
  generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
10014
10014
  ];
10015
- const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, createSemanticModel_ConfigPropertyMetadata);
10016
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$i(createSemanticModel_ConfigPropertyMetadata);
10017
- function typeCheckConfig$f(untrustedConfig) {
10015
+ const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, createSemanticModel_ConfigPropertyMetadata);
10016
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$k(createSemanticModel_ConfigPropertyMetadata);
10017
+ function typeCheckConfig$h(untrustedConfig) {
10018
10018
  const config = {};
10019
- typeCheckConfig$i(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
10019
+ typeCheckConfig$k(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
10020
10020
  const untrustedConfig_baseModels = untrustedConfig.baseModels;
10021
10021
  if (ArrayIsArray$1(untrustedConfig_baseModels)) {
10022
10022
  const untrustedConfig_baseModels_array = [];
@@ -10127,30 +10127,30 @@ function typeCheckConfig$f(untrustedConfig) {
10127
10127
  }
10128
10128
  return config;
10129
10129
  }
10130
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
10130
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
10131
10131
  if (!untrustedIsObject(untrustedConfig)) {
10132
10132
  return null;
10133
10133
  }
10134
10134
  if (process.env.NODE_ENV !== 'production') {
10135
10135
  validateConfig(untrustedConfig, configPropertyNames);
10136
10136
  }
10137
- const config = typeCheckConfig$f(untrustedConfig);
10137
+ const config = typeCheckConfig$h(untrustedConfig);
10138
10138
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
10139
10139
  return null;
10140
10140
  }
10141
10141
  return config;
10142
10142
  }
10143
- function buildNetworkSnapshot$f(luvio, config, options) {
10144
- const resourceParams = createResourceParams$f(config);
10145
- const request = createResourceRequest$f(resourceParams);
10143
+ function buildNetworkSnapshot$h(luvio, config, options) {
10144
+ const resourceParams = createResourceParams$h(config);
10145
+ const request = createResourceRequest$h(resourceParams);
10146
10146
  return luvio.dispatchResourceRequest(request, options)
10147
10147
  .then((response) => {
10148
10148
  return luvio.handleSuccessResponse(() => {
10149
- const snapshot = ingestSuccess$d(luvio, resourceParams, response);
10149
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response);
10150
10150
  return luvio.storeBroadcast().then(() => snapshot);
10151
10151
  }, () => {
10152
10152
  const cache = new StoreKeyMap();
10153
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
10153
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
10154
10154
  return cache;
10155
10155
  });
10156
10156
  }, (response) => {
@@ -10160,33 +10160,33 @@ function buildNetworkSnapshot$f(luvio, config, options) {
10160
10160
  }
10161
10161
  const createSemanticModelAdapterFactory = (luvio) => {
10162
10162
  return function createSemanticModel(untrustedConfig) {
10163
- const config = validateAdapterConfig$f(untrustedConfig, createSemanticModel_ConfigPropertyNames);
10163
+ const config = validateAdapterConfig$h(untrustedConfig, createSemanticModel_ConfigPropertyNames);
10164
10164
  // Invalid or incomplete config
10165
10165
  if (config === null) {
10166
10166
  throw new Error('Invalid config for "createSemanticModel"');
10167
10167
  }
10168
- return buildNetworkSnapshot$f(luvio, config);
10168
+ return buildNetworkSnapshot$h(luvio, config);
10169
10169
  };
10170
10170
  };
10171
10171
 
10172
- function select$m(luvio, params) {
10173
- return select$o();
10172
+ function select$l(luvio, params) {
10173
+ return select$n();
10174
10174
  }
10175
- function keyBuilder$l(luvio, params) {
10176
- return keyBuilder$m(luvio, {
10175
+ function keyBuilder$m(luvio, params) {
10176
+ return keyBuilder$n(luvio, {
10177
10177
  name: params.urlParams.modelApiNameOrId
10178
10178
  });
10179
10179
  }
10180
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
10180
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
10181
10181
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
10182
10182
  }
10183
- function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
10183
+ function ingestSuccess$d(luvio, resourceParams, response, snapshotRefresh) {
10184
10184
  const { body } = response;
10185
- const key = keyBuilder$l(luvio, resourceParams);
10185
+ const key = keyBuilder$m(luvio, resourceParams);
10186
10186
  luvio.storeIngest(key, ingest$6, body);
10187
10187
  const snapshot = luvio.storeLookup({
10188
10188
  recordId: key,
10189
- node: select$m(),
10189
+ node: select$l(),
10190
10190
  variables: {},
10191
10191
  }, snapshotRefresh);
10192
10192
  if (process.env.NODE_ENV !== 'production') {
@@ -10198,12 +10198,12 @@ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
10198
10198
  return snapshot;
10199
10199
  }
10200
10200
  function ingestError$8(luvio, params, error, snapshotRefresh) {
10201
- const key = keyBuilder$l(luvio, params);
10201
+ const key = keyBuilder$m(luvio, params);
10202
10202
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
10203
10203
  luvio.storeIngestError(key, errorSnapshot);
10204
10204
  return errorSnapshot;
10205
10205
  }
10206
- function createResourceRequest$e(config) {
10206
+ function createResourceRequest$g(config) {
10207
10207
  const headers = {};
10208
10208
  return {
10209
10209
  baseUri: '/services/data/v64.0',
@@ -10217,63 +10217,63 @@ function createResourceRequest$e(config) {
10217
10217
  };
10218
10218
  }
10219
10219
 
10220
- const adapterName$e = 'getSemanticModel';
10220
+ const adapterName$g = 'getSemanticModel';
10221
10221
  const getSemanticModel_ConfigPropertyMetadata = [
10222
10222
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10223
10223
  generateParamConfigMetadata('fieldName', false, 1 /* QueryParameter */, 0 /* String */),
10224
10224
  generateParamConfigMetadata('includeModelContent', false, 1 /* QueryParameter */, 1 /* Boolean */),
10225
10225
  generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
10226
10226
  ];
10227
- const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getSemanticModel_ConfigPropertyMetadata);
10228
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$i(getSemanticModel_ConfigPropertyMetadata);
10229
- function keyBuilder$k(luvio, config) {
10230
- const resourceParams = createResourceParams$e(config);
10231
- return keyBuilder$l(luvio, resourceParams);
10227
+ const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getSemanticModel_ConfigPropertyMetadata);
10228
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$k(getSemanticModel_ConfigPropertyMetadata);
10229
+ function keyBuilder$l(luvio, config) {
10230
+ const resourceParams = createResourceParams$g(config);
10231
+ return keyBuilder$m(luvio, resourceParams);
10232
10232
  }
10233
- function typeCheckConfig$e(untrustedConfig) {
10233
+ function typeCheckConfig$g(untrustedConfig) {
10234
10234
  const config = {};
10235
- typeCheckConfig$i(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
10235
+ typeCheckConfig$k(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
10236
10236
  return config;
10237
10237
  }
10238
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
10238
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
10239
10239
  if (!untrustedIsObject(untrustedConfig)) {
10240
10240
  return null;
10241
10241
  }
10242
10242
  if (process.env.NODE_ENV !== 'production') {
10243
10243
  validateConfig(untrustedConfig, configPropertyNames);
10244
10244
  }
10245
- const config = typeCheckConfig$e(untrustedConfig);
10245
+ const config = typeCheckConfig$g(untrustedConfig);
10246
10246
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
10247
10247
  return null;
10248
10248
  }
10249
10249
  return config;
10250
10250
  }
10251
10251
  function adapterFragment$8(luvio, config) {
10252
- createResourceParams$e(config);
10253
- return select$m();
10252
+ createResourceParams$g(config);
10253
+ return select$l();
10254
10254
  }
10255
10255
  function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
10256
- const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
10256
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
10257
10257
  config,
10258
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
10258
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
10259
10259
  });
10260
10260
  return luvio.storeBroadcast().then(() => snapshot);
10261
10261
  }
10262
10262
  function onFetchResponseError$8(luvio, config, resourceParams, response) {
10263
10263
  const snapshot = ingestError$8(luvio, resourceParams, response, {
10264
10264
  config,
10265
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
10265
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
10266
10266
  });
10267
10267
  return luvio.storeBroadcast().then(() => snapshot);
10268
10268
  }
10269
- function buildNetworkSnapshot$e(luvio, config, options) {
10270
- const resourceParams = createResourceParams$e(config);
10271
- const request = createResourceRequest$e(resourceParams);
10269
+ function buildNetworkSnapshot$g(luvio, config, options) {
10270
+ const resourceParams = createResourceParams$g(config);
10271
+ const request = createResourceRequest$g(resourceParams);
10272
10272
  return luvio.dispatchResourceRequest(request, options)
10273
10273
  .then((response) => {
10274
10274
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
10275
10275
  const cache = new StoreKeyMap();
10276
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
10276
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
10277
10277
  return cache;
10278
10278
  });
10279
10279
  }, (response) => {
@@ -10281,23 +10281,23 @@ function buildNetworkSnapshot$e(luvio, config, options) {
10281
10281
  });
10282
10282
  }
10283
10283
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
10284
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
10284
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
10285
10285
  }
10286
10286
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
10287
10287
  const { luvio, config } = context;
10288
10288
  const selector = {
10289
- recordId: keyBuilder$k(luvio, config),
10289
+ recordId: keyBuilder$l(luvio, config),
10290
10290
  node: adapterFragment$8(luvio, config),
10291
10291
  variables: {},
10292
10292
  };
10293
10293
  const cacheSnapshot = storeLookup(selector, {
10294
10294
  config,
10295
- resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
10295
+ resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
10296
10296
  });
10297
10297
  return cacheSnapshot;
10298
10298
  }
10299
10299
  const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticModel(untrustedConfig, requestContext) {
10300
- const config = validateAdapterConfig$e(untrustedConfig, getSemanticModel_ConfigPropertyNames);
10300
+ const config = validateAdapterConfig$g(untrustedConfig, getSemanticModel_ConfigPropertyNames);
10301
10301
  // Invalid or incomplete config
10302
10302
  if (config === null) {
10303
10303
  return null;
@@ -10306,19 +10306,19 @@ const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__ge
10306
10306
  buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
10307
10307
  };
10308
10308
 
10309
- function select$l(luvio, params) {
10310
- return select$o();
10309
+ function select$k(luvio, params) {
10310
+ return select$n();
10311
10311
  }
10312
- function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
10312
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
10313
10313
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
10314
10314
  }
10315
- function ingestSuccess$b(luvio, resourceParams, response) {
10315
+ function ingestSuccess$c(luvio, resourceParams, response) {
10316
10316
  const { body } = response;
10317
10317
  const key = keyBuilderFromType$2(luvio, body);
10318
10318
  luvio.storeIngest(key, ingest$6, body);
10319
10319
  const snapshot = luvio.storeLookup({
10320
10320
  recordId: key,
10321
- node: select$l(),
10321
+ node: select$k(),
10322
10322
  variables: {},
10323
10323
  });
10324
10324
  if (process.env.NODE_ENV !== 'production') {
@@ -10329,7 +10329,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
10329
10329
  deepFreeze(snapshot.data);
10330
10330
  return snapshot;
10331
10331
  }
10332
- function createResourceRequest$d(config) {
10332
+ function createResourceRequest$f(config) {
10333
10333
  const headers = {};
10334
10334
  return {
10335
10335
  baseUri: '/services/data/v64.0',
@@ -10343,7 +10343,7 @@ function createResourceRequest$d(config) {
10343
10343
  };
10344
10344
  }
10345
10345
 
10346
- const adapterName$d = 'patchSemanticModel';
10346
+ const adapterName$f = 'patchSemanticModel';
10347
10347
  const patchSemanticModel_ConfigPropertyMetadata = [
10348
10348
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10349
10349
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
@@ -10365,11 +10365,11 @@ const patchSemanticModel_ConfigPropertyMetadata = [
10365
10365
  generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
10366
10366
  generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
10367
10367
  ];
10368
- const patchSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, patchSemanticModel_ConfigPropertyMetadata);
10369
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$i(patchSemanticModel_ConfigPropertyMetadata);
10370
- function typeCheckConfig$d(untrustedConfig) {
10368
+ const patchSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, patchSemanticModel_ConfigPropertyMetadata);
10369
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$k(patchSemanticModel_ConfigPropertyMetadata);
10370
+ function typeCheckConfig$f(untrustedConfig) {
10371
10371
  const config = {};
10372
- typeCheckConfig$i(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
10372
+ typeCheckConfig$k(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
10373
10373
  const untrustedConfig_baseModels = untrustedConfig.baseModels;
10374
10374
  if (ArrayIsArray$1(untrustedConfig_baseModels)) {
10375
10375
  const untrustedConfig_baseModels_array = [];
@@ -10480,30 +10480,30 @@ function typeCheckConfig$d(untrustedConfig) {
10480
10480
  }
10481
10481
  return config;
10482
10482
  }
10483
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
10483
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
10484
10484
  if (!untrustedIsObject(untrustedConfig)) {
10485
10485
  return null;
10486
10486
  }
10487
10487
  if (process.env.NODE_ENV !== 'production') {
10488
10488
  validateConfig(untrustedConfig, configPropertyNames);
10489
10489
  }
10490
- const config = typeCheckConfig$d(untrustedConfig);
10490
+ const config = typeCheckConfig$f(untrustedConfig);
10491
10491
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
10492
10492
  return null;
10493
10493
  }
10494
10494
  return config;
10495
10495
  }
10496
- function buildNetworkSnapshot$d(luvio, config, options) {
10497
- const resourceParams = createResourceParams$d(config);
10498
- const request = createResourceRequest$d(resourceParams);
10496
+ function buildNetworkSnapshot$f(luvio, config, options) {
10497
+ const resourceParams = createResourceParams$f(config);
10498
+ const request = createResourceRequest$f(resourceParams);
10499
10499
  return luvio.dispatchResourceRequest(request, options)
10500
10500
  .then((response) => {
10501
10501
  return luvio.handleSuccessResponse(() => {
10502
- const snapshot = ingestSuccess$b(luvio, resourceParams, response);
10502
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response);
10503
10503
  return luvio.storeBroadcast().then(() => snapshot);
10504
10504
  }, () => {
10505
10505
  const cache = new StoreKeyMap();
10506
- getResponseCacheKeys$d(cache, luvio, resourceParams, response.body);
10506
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
10507
10507
  return cache;
10508
10508
  });
10509
10509
  }, (response) => {
@@ -10513,16 +10513,16 @@ function buildNetworkSnapshot$d(luvio, config, options) {
10513
10513
  }
10514
10514
  const patchSemanticModelAdapterFactory = (luvio) => {
10515
10515
  return function patchSemanticModel(untrustedConfig) {
10516
- const config = validateAdapterConfig$d(untrustedConfig, patchSemanticModel_ConfigPropertyNames);
10516
+ const config = validateAdapterConfig$f(untrustedConfig, patchSemanticModel_ConfigPropertyNames);
10517
10517
  // Invalid or incomplete config
10518
10518
  if (config === null) {
10519
10519
  throw new Error('Invalid config for "patchSemanticModel"');
10520
10520
  }
10521
- return buildNetworkSnapshot$d(luvio, config);
10521
+ return buildNetworkSnapshot$f(luvio, config);
10522
10522
  };
10523
10523
  };
10524
10524
 
10525
- const VERSION$9 = "e96f6d15d947eadd33aeb16dd9222420";
10525
+ const VERSION$7 = "e96f6d15d947eadd33aeb16dd9222420";
10526
10526
  function validate$f(obj, path = 'SemanticDependencyOutputRepresentation') {
10527
10527
  const v_error = (() => {
10528
10528
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -10557,10 +10557,10 @@ function validate$f(obj, path = 'SemanticDependencyOutputRepresentation') {
10557
10557
  })();
10558
10558
  return v_error === undefined ? null : v_error;
10559
10559
  }
10560
- const select$k = function SemanticDependencyOutputRepresentationSelect() {
10560
+ const select$j = function SemanticDependencyOutputRepresentationSelect() {
10561
10561
  return {
10562
10562
  kind: 'Fragment',
10563
- version: VERSION$9,
10563
+ version: VERSION$7,
10564
10564
  private: [],
10565
10565
  selections: [
10566
10566
  {
@@ -10585,7 +10585,7 @@ const select$k = function SemanticDependencyOutputRepresentationSelect() {
10585
10585
  ]
10586
10586
  };
10587
10587
  };
10588
- function equals$9(existing, incoming) {
10588
+ function equals$7(existing, incoming) {
10589
10589
  const existing_apiName = existing.apiName;
10590
10590
  const incoming_apiName = incoming.apiName;
10591
10591
  if (!(existing_apiName === incoming_apiName)) {
@@ -10633,7 +10633,7 @@ function equals$9(existing, incoming) {
10633
10633
  return true;
10634
10634
  }
10635
10635
 
10636
- const VERSION$8 = "62e5e0ffeb783cdde37da72d400b0869";
10636
+ const VERSION$6 = "62e5e0ffeb783cdde37da72d400b0869";
10637
10637
  function validate$e(obj, path = 'SemanticDependencyInnerCollectionOutputRepresentation') {
10638
10638
  const v_error = (() => {
10639
10639
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -10673,11 +10673,11 @@ function validate$e(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
10673
10673
  })();
10674
10674
  return v_error === undefined ? null : v_error;
10675
10675
  }
10676
- const select$j = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
10677
- const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$k();
10676
+ const select$i = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
10677
+ const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$j();
10678
10678
  return {
10679
10679
  kind: 'Fragment',
10680
- version: VERSION$8,
10680
+ version: VERSION$6,
10681
10681
  private: [],
10682
10682
  selections: [
10683
10683
  {
@@ -10700,7 +10700,7 @@ const select$j = function SemanticDependencyInnerCollectionOutputRepresentationS
10700
10700
  ]
10701
10701
  };
10702
10702
  };
10703
- function equals$8(existing, incoming) {
10703
+ function equals$6(existing, incoming) {
10704
10704
  const existing_definitionApiName = existing.definitionApiName;
10705
10705
  const incoming_definitionApiName = incoming.definitionApiName;
10706
10706
  // if at least one of these optionals is defined
@@ -10737,7 +10737,7 @@ function equals$8(existing, incoming) {
10737
10737
  return false;
10738
10738
  }
10739
10739
  const equals_dependencies_items = equalsArray(existing_dependencies, incoming_dependencies, (existing_dependencies_item, incoming_dependencies_item) => {
10740
- if (!(equals$9(existing_dependencies_item, incoming_dependencies_item))) {
10740
+ if (!(equals$7(existing_dependencies_item, incoming_dependencies_item))) {
10741
10741
  return false;
10742
10742
  }
10743
10743
  });
@@ -10748,7 +10748,7 @@ function equals$8(existing, incoming) {
10748
10748
  return true;
10749
10749
  }
10750
10750
 
10751
- const VERSION$7 = "e710141192798ab103ce7e9b469baad4";
10751
+ const VERSION$5 = "e710141192798ab103ce7e9b469baad4";
10752
10752
  function validate$d(obj, path = 'SemanticDependencyCollectionOutputRepresentation') {
10753
10753
  const v_error = (() => {
10754
10754
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -10778,11 +10778,11 @@ const RepresentationType$5 = 'SemanticDependencyCollectionOutputRepresentation';
10778
10778
  function normalize$5(input, existing, path, luvio, store, timestamp) {
10779
10779
  return input;
10780
10780
  }
10781
- const select$i = function SemanticDependencyCollectionOutputRepresentationSelect() {
10782
- const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$j();
10781
+ const select$h = function SemanticDependencyCollectionOutputRepresentationSelect() {
10782
+ const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$i();
10783
10783
  return {
10784
10784
  kind: 'Fragment',
10785
- version: VERSION$7,
10785
+ version: VERSION$5,
10786
10786
  private: [],
10787
10787
  selections: [
10788
10788
  {
@@ -10795,7 +10795,7 @@ const select$i = function SemanticDependencyCollectionOutputRepresentationSelect
10795
10795
  ]
10796
10796
  };
10797
10797
  };
10798
- function equals$7(existing, incoming) {
10798
+ function equals$5(existing, incoming) {
10799
10799
  const existing_item = existing.item;
10800
10800
  const incoming_item = incoming.item;
10801
10801
  // if at least one of these optionals is defined
@@ -10806,7 +10806,7 @@ function equals$7(existing, incoming) {
10806
10806
  return false;
10807
10807
  }
10808
10808
  const equals_item_items = equalsArray(existing_item, incoming_item, (existing_item_item, incoming_item_item) => {
10809
- if (!(equals$8(existing_item_item, incoming_item_item))) {
10809
+ if (!(equals$6(existing_item_item, incoming_item_item))) {
10810
10810
  return false;
10811
10811
  }
10812
10812
  });
@@ -10825,7 +10825,7 @@ const ingest$5 = function SemanticDependencyCollectionOutputRepresentationIngest
10825
10825
  }
10826
10826
  const key = path.fullPath;
10827
10827
  const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
10828
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SemanticAuthoring", VERSION$7, RepresentationType$5, equals$7);
10828
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "SemanticAuthoring", VERSION$5, RepresentationType$5, equals$5);
10829
10829
  return createLink(key);
10830
10830
  };
10831
10831
  function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
@@ -10838,22 +10838,22 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
10838
10838
  });
10839
10839
  }
10840
10840
 
10841
- function select$h(luvio, params) {
10842
- return select$i();
10841
+ function select$g(luvio, params) {
10842
+ return select$h();
10843
10843
  }
10844
- function keyBuilder$j(luvio, params) {
10844
+ function keyBuilder$k(luvio, params) {
10845
10845
  return keyPrefix + '::SemanticDependencyCollectionOutputRepresentation:(' + 'types:' + params.queryParams.types + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
10846
10846
  }
10847
- function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
10848
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$j(luvio, resourceParams));
10847
+ function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
10848
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$k(luvio, resourceParams));
10849
10849
  }
10850
- function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
10850
+ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
10851
10851
  const { body } = response;
10852
- const key = keyBuilder$j(luvio, resourceParams);
10852
+ const key = keyBuilder$k(luvio, resourceParams);
10853
10853
  luvio.storeIngest(key, ingest$5, body);
10854
10854
  const snapshot = luvio.storeLookup({
10855
10855
  recordId: key,
10856
- node: select$h(),
10856
+ node: select$g(),
10857
10857
  variables: {},
10858
10858
  }, snapshotRefresh);
10859
10859
  if (process.env.NODE_ENV !== 'production') {
@@ -10865,12 +10865,12 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
10865
10865
  return snapshot;
10866
10866
  }
10867
10867
  function ingestError$7(luvio, params, error, snapshotRefresh) {
10868
- const key = keyBuilder$j(luvio, params);
10868
+ const key = keyBuilder$k(luvio, params);
10869
10869
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
10870
10870
  luvio.storeIngestError(key, errorSnapshot);
10871
10871
  return errorSnapshot;
10872
10872
  }
10873
- function createResourceRequest$c(config) {
10873
+ function createResourceRequest$e(config) {
10874
10874
  const headers = {};
10875
10875
  return {
10876
10876
  baseUri: '/services/data/v64.0',
@@ -10884,61 +10884,61 @@ function createResourceRequest$c(config) {
10884
10884
  };
10885
10885
  }
10886
10886
 
10887
- const adapterName$c = 'getLeafDependenciesByTypes';
10887
+ const adapterName$e = 'getLeafDependenciesByTypes';
10888
10888
  const getLeafDependenciesByTypes_ConfigPropertyMetadata = [
10889
10889
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10890
10890
  generateParamConfigMetadata('types', false, 1 /* QueryParameter */, 0 /* String */, true),
10891
10891
  ];
10892
- const getLeafDependenciesByTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getLeafDependenciesByTypes_ConfigPropertyMetadata);
10893
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$i(getLeafDependenciesByTypes_ConfigPropertyMetadata);
10894
- function keyBuilder$i(luvio, config) {
10895
- const resourceParams = createResourceParams$c(config);
10896
- return keyBuilder$j(luvio, resourceParams);
10892
+ const getLeafDependenciesByTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getLeafDependenciesByTypes_ConfigPropertyMetadata);
10893
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$k(getLeafDependenciesByTypes_ConfigPropertyMetadata);
10894
+ function keyBuilder$j(luvio, config) {
10895
+ const resourceParams = createResourceParams$e(config);
10896
+ return keyBuilder$k(luvio, resourceParams);
10897
10897
  }
10898
- function typeCheckConfig$c(untrustedConfig) {
10898
+ function typeCheckConfig$e(untrustedConfig) {
10899
10899
  const config = {};
10900
- typeCheckConfig$i(untrustedConfig, config, getLeafDependenciesByTypes_ConfigPropertyMetadata);
10900
+ typeCheckConfig$k(untrustedConfig, config, getLeafDependenciesByTypes_ConfigPropertyMetadata);
10901
10901
  return config;
10902
10902
  }
10903
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
10903
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
10904
10904
  if (!untrustedIsObject(untrustedConfig)) {
10905
10905
  return null;
10906
10906
  }
10907
10907
  if (process.env.NODE_ENV !== 'production') {
10908
10908
  validateConfig(untrustedConfig, configPropertyNames);
10909
10909
  }
10910
- const config = typeCheckConfig$c(untrustedConfig);
10910
+ const config = typeCheckConfig$e(untrustedConfig);
10911
10911
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
10912
10912
  return null;
10913
10913
  }
10914
10914
  return config;
10915
10915
  }
10916
10916
  function adapterFragment$7(luvio, config) {
10917
- createResourceParams$c(config);
10918
- return select$h();
10917
+ createResourceParams$e(config);
10918
+ return select$g();
10919
10919
  }
10920
10920
  function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
10921
- const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
10921
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
10922
10922
  config,
10923
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
10923
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
10924
10924
  });
10925
10925
  return luvio.storeBroadcast().then(() => snapshot);
10926
10926
  }
10927
10927
  function onFetchResponseError$7(luvio, config, resourceParams, response) {
10928
10928
  const snapshot = ingestError$7(luvio, resourceParams, response, {
10929
10929
  config,
10930
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
10930
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
10931
10931
  });
10932
10932
  return luvio.storeBroadcast().then(() => snapshot);
10933
10933
  }
10934
- function buildNetworkSnapshot$c(luvio, config, options) {
10935
- const resourceParams = createResourceParams$c(config);
10936
- const request = createResourceRequest$c(resourceParams);
10934
+ function buildNetworkSnapshot$e(luvio, config, options) {
10935
+ const resourceParams = createResourceParams$e(config);
10936
+ const request = createResourceRequest$e(resourceParams);
10937
10937
  return luvio.dispatchResourceRequest(request, options)
10938
10938
  .then((response) => {
10939
10939
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
10940
10940
  const cache = new StoreKeyMap();
10941
- getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
10941
+ getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
10942
10942
  return cache;
10943
10943
  });
10944
10944
  }, (response) => {
@@ -10946,23 +10946,23 @@ function buildNetworkSnapshot$c(luvio, config, options) {
10946
10946
  });
10947
10947
  }
10948
10948
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
10949
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
10949
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
10950
10950
  }
10951
10951
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
10952
10952
  const { luvio, config } = context;
10953
10953
  const selector = {
10954
- recordId: keyBuilder$i(luvio, config),
10954
+ recordId: keyBuilder$j(luvio, config),
10955
10955
  node: adapterFragment$7(luvio, config),
10956
10956
  variables: {},
10957
10957
  };
10958
10958
  const cacheSnapshot = storeLookup(selector, {
10959
10959
  config,
10960
- resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
10960
+ resolve: () => buildNetworkSnapshot$e(luvio, config, snapshotRefreshOptions)
10961
10961
  });
10962
10962
  return cacheSnapshot;
10963
10963
  }
10964
10964
  const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAuthoring__getLeafDependenciesByTypes(untrustedConfig, requestContext) {
10965
- const config = validateAdapterConfig$c(untrustedConfig, getLeafDependenciesByTypes_ConfigPropertyNames);
10965
+ const config = validateAdapterConfig$e(untrustedConfig, getLeafDependenciesByTypes_ConfigPropertyNames);
10966
10966
  // Invalid or incomplete config
10967
10967
  if (config === null) {
10968
10968
  return null;
@@ -10971,79 +10971,25 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
10971
10971
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
10972
10972
  };
10973
10973
 
10974
- const VERSION$6 = "d8d5260b9a2483297bc9bf979347739e";
10975
10974
  function validate$c(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
10976
10975
  const v_error = (() => {
10977
10976
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
10978
10977
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
10979
10978
  }
10980
- if (obj.endDate !== undefined) {
10981
- const obj_endDate = obj.endDate;
10982
- const path_endDate = path + '.endDate';
10983
- if (typeof obj_endDate !== 'string') {
10984
- return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
10985
- }
10979
+ const obj_endDate = obj.endDate;
10980
+ const path_endDate = path + '.endDate';
10981
+ if (typeof obj_endDate !== 'string') {
10982
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
10986
10983
  }
10987
- if (obj.startDate !== undefined) {
10988
- const obj_startDate = obj.startDate;
10989
- const path_startDate = path + '.startDate';
10990
- if (typeof obj_startDate !== 'string') {
10991
- return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
10992
- }
10984
+ const obj_startDate = obj.startDate;
10985
+ const path_startDate = path + '.startDate';
10986
+ if (typeof obj_startDate !== 'string') {
10987
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
10993
10988
  }
10994
10989
  })();
10995
10990
  return v_error === undefined ? null : v_error;
10996
10991
  }
10997
- const select$g = function SemanticGoalDateRangeOutputRepresentationSelect() {
10998
- return {
10999
- kind: 'Fragment',
11000
- version: VERSION$6,
11001
- private: [],
11002
- selections: [
11003
- {
11004
- name: 'endDate',
11005
- kind: 'Scalar',
11006
- required: false
11007
- },
11008
- {
11009
- name: 'startDate',
11010
- kind: 'Scalar',
11011
- required: false
11012
- }
11013
- ]
11014
- };
11015
- };
11016
- function equals$6(existing, incoming) {
11017
- const existing_endDate = existing.endDate;
11018
- const incoming_endDate = incoming.endDate;
11019
- // if at least one of these optionals is defined
11020
- if (existing_endDate !== undefined || incoming_endDate !== undefined) {
11021
- // if one of these is not defined we know the other is defined and therefore
11022
- // not equal
11023
- if (existing_endDate === undefined || incoming_endDate === undefined) {
11024
- return false;
11025
- }
11026
- if (!(existing_endDate === incoming_endDate)) {
11027
- return false;
11028
- }
11029
- }
11030
- const existing_startDate = existing.startDate;
11031
- const incoming_startDate = incoming.startDate;
11032
- // if at least one of these optionals is defined
11033
- if (existing_startDate !== undefined || incoming_startDate !== undefined) {
11034
- // if one of these is not defined we know the other is defined and therefore
11035
- // not equal
11036
- if (existing_startDate === undefined || incoming_startDate === undefined) {
11037
- return false;
11038
- }
11039
- if (!(existing_startDate === incoming_startDate)) {
11040
- return false;
11041
- }
11042
- }
11043
- return true;
11044
- }
11045
10992
 
11046
- const VERSION$5 = "77130f1cc25bfe67384d6074027e3f3c";
11047
10993
  function validate$b(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
11048
10994
  const v_error = (() => {
11049
10995
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -11084,83 +11030,8 @@ function validate$b(obj, path = 'SemanticGoalStatusConditionOutputRepresentation
11084
11030
  })();
11085
11031
  return v_error === undefined ? null : v_error;
11086
11032
  }
11087
- const select$f = function SemanticGoalStatusConditionOutputRepresentationSelect() {
11088
- return {
11089
- kind: 'Fragment',
11090
- version: VERSION$5,
11091
- private: [],
11092
- selections: [
11093
- {
11094
- name: 'color',
11095
- kind: 'Scalar'
11096
- },
11097
- {
11098
- name: 'currencyIsoCode',
11099
- kind: 'Scalar',
11100
- required: false
11101
- },
11102
- {
11103
- name: 'operator',
11104
- kind: 'Scalar'
11105
- },
11106
- {
11107
- name: 'primary',
11108
- kind: 'Scalar'
11109
- },
11110
- {
11111
- name: 'statusName',
11112
- kind: 'Scalar'
11113
- },
11114
- {
11115
- name: 'value',
11116
- kind: 'Scalar'
11117
- }
11118
- ]
11119
- };
11120
- };
11121
- function equals$5(existing, incoming) {
11122
- const existing_primary = existing.primary;
11123
- const incoming_primary = incoming.primary;
11124
- if (!(existing_primary === incoming_primary)) {
11125
- return false;
11126
- }
11127
- const existing_color = existing.color;
11128
- const incoming_color = incoming.color;
11129
- if (!(existing_color === incoming_color)) {
11130
- return false;
11131
- }
11132
- const existing_currencyIsoCode = existing.currencyIsoCode;
11133
- const incoming_currencyIsoCode = incoming.currencyIsoCode;
11134
- // if at least one of these optionals is defined
11135
- if (existing_currencyIsoCode !== undefined || incoming_currencyIsoCode !== undefined) {
11136
- // if one of these is not defined we know the other is defined and therefore
11137
- // not equal
11138
- if (existing_currencyIsoCode === undefined || incoming_currencyIsoCode === undefined) {
11139
- return false;
11140
- }
11141
- if (!(existing_currencyIsoCode === incoming_currencyIsoCode)) {
11142
- return false;
11143
- }
11144
- }
11145
- const existing_operator = existing.operator;
11146
- const incoming_operator = incoming.operator;
11147
- if (!(existing_operator === incoming_operator)) {
11148
- return false;
11149
- }
11150
- const existing_statusName = existing.statusName;
11151
- const incoming_statusName = incoming.statusName;
11152
- if (!(existing_statusName === incoming_statusName)) {
11153
- return false;
11154
- }
11155
- const existing_value = existing.value;
11156
- const incoming_value = incoming.value;
11157
- if (!(existing_value === incoming_value)) {
11158
- return false;
11159
- }
11160
- return true;
11161
- }
11162
11033
 
11163
- const VERSION$4 = "d08e45b476a6ff601849693a6dff2619";
11034
+ const VERSION$4 = "a6367e92be7c02cf72fcdd9bad3cf81d";
11164
11035
  function validate$a(obj, path = 'SemanticGoalOutputRepresentation') {
11165
11036
  const v_error = (() => {
11166
11037
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -11246,235 +11117,49 @@ function validate$a(obj, path = 'SemanticGoalOutputRepresentation') {
11246
11117
  if (!ArrayIsArray(obj_statusConditions)) {
11247
11118
  return new TypeError('Expected "array" but received "' + typeof obj_statusConditions + '" (at "' + path_statusConditions + '")');
11248
11119
  }
11249
- for (let i = 0; i < obj_statusConditions.length; i++) {
11250
- const obj_statusConditions_item = obj_statusConditions[i];
11251
- const path_statusConditions_item = path_statusConditions + '[' + i + ']';
11252
- const referencepath_statusConditions_itemValidationError = validate$b(obj_statusConditions_item, path_statusConditions_item);
11253
- if (referencepath_statusConditions_itemValidationError !== null) {
11254
- let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
11255
- message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
11256
- return new TypeError(message);
11257
- }
11258
- }
11259
- const obj_subMetricDefinitionApiName = obj.subMetricDefinitionApiName;
11260
- const path_subMetricDefinitionApiName = path + '.subMetricDefinitionApiName';
11261
- if (typeof obj_subMetricDefinitionApiName !== 'string') {
11262
- return new TypeError('Expected "string" but received "' + typeof obj_subMetricDefinitionApiName + '" (at "' + path_subMetricDefinitionApiName + '")');
11263
- }
11264
- })();
11265
- return v_error === undefined ? null : v_error;
11266
- }
11267
- const RepresentationType$4 = 'SemanticGoalOutputRepresentation';
11268
- function keyBuilder$h(luvio, config) {
11269
- return keyPrefix + '::' + RepresentationType$4 + ':' + config.name;
11270
- }
11271
- function keyBuilderFromType$1(luvio, object) {
11272
- const keyParams = {
11273
- name: object.id
11274
- };
11275
- return keyBuilder$h(luvio, keyParams);
11276
- }
11277
- function normalize$4(input, existing, path, luvio, store, timestamp) {
11278
- return input;
11279
- }
11280
- const select$e = function SemanticGoalOutputRepresentationSelect() {
11281
- const { selections: SemanticGoalDateRangeOutputRepresentation__selections, opaque: SemanticGoalDateRangeOutputRepresentation__opaque, } = select$g();
11282
- const { selections: SemanticGoalStatusConditionOutputRepresentation__selections, opaque: SemanticGoalStatusConditionOutputRepresentation__opaque, } = select$f();
11283
- return {
11284
- kind: 'Fragment',
11285
- version: VERSION$4,
11286
- private: [],
11287
- selections: [
11288
- {
11289
- name: 'apiName',
11290
- kind: 'Scalar'
11291
- },
11292
- {
11293
- name: 'baseModelApiName',
11294
- kind: 'Scalar',
11295
- required: false
11296
- },
11297
- {
11298
- name: 'cacheKey',
11299
- kind: 'Scalar',
11300
- required: false
11301
- },
11302
- {
11303
- name: 'createdBy',
11304
- kind: 'Scalar'
11305
- },
11306
- {
11307
- name: 'createdDate',
11308
- kind: 'Scalar'
11309
- },
11310
- {
11311
- name: 'dateRange',
11312
- kind: 'Object',
11313
- selections: SemanticGoalDateRangeOutputRepresentation__selections
11314
- },
11315
- {
11316
- name: 'description',
11317
- kind: 'Scalar',
11318
- required: false
11319
- },
11320
- {
11321
- name: 'forecasting',
11322
- kind: 'Scalar'
11323
- },
11324
- {
11325
- name: 'id',
11326
- kind: 'Scalar'
11327
- },
11328
- {
11329
- name: 'label',
11330
- kind: 'Scalar',
11331
- required: false
11332
- },
11333
- {
11334
- name: 'lastModifiedBy',
11335
- kind: 'Scalar',
11336
- required: false
11337
- },
11338
- {
11339
- name: 'lastModifiedDate',
11340
- kind: 'Scalar',
11341
- required: false
11342
- },
11343
- {
11344
- name: 'statusConditions',
11345
- kind: 'Object',
11346
- plural: true,
11347
- selections: SemanticGoalStatusConditionOutputRepresentation__selections
11348
- },
11349
- {
11350
- name: 'subMetricDefinitionApiName',
11351
- kind: 'Scalar'
11352
- }
11353
- ]
11354
- };
11355
- };
11356
- function equals$4(existing, incoming) {
11357
- const existing_forecasting = existing.forecasting;
11358
- const incoming_forecasting = incoming.forecasting;
11359
- if (!(existing_forecasting === incoming_forecasting)) {
11360
- return false;
11361
- }
11362
- const existing_apiName = existing.apiName;
11363
- const incoming_apiName = incoming.apiName;
11364
- if (!(existing_apiName === incoming_apiName)) {
11365
- return false;
11366
- }
11367
- const existing_baseModelApiName = existing.baseModelApiName;
11368
- const incoming_baseModelApiName = incoming.baseModelApiName;
11369
- // if at least one of these optionals is defined
11370
- if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
11371
- // if one of these is not defined we know the other is defined and therefore
11372
- // not equal
11373
- if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
11374
- return false;
11375
- }
11376
- if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
11377
- return false;
11378
- }
11379
- }
11380
- const existing_cacheKey = existing.cacheKey;
11381
- const incoming_cacheKey = incoming.cacheKey;
11382
- // if at least one of these optionals is defined
11383
- if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
11384
- // if one of these is not defined we know the other is defined and therefore
11385
- // not equal
11386
- if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
11387
- return false;
11388
- }
11389
- if (!(existing_cacheKey === incoming_cacheKey)) {
11390
- return false;
11391
- }
11392
- }
11393
- const existing_createdBy = existing.createdBy;
11394
- const incoming_createdBy = incoming.createdBy;
11395
- if (!(existing_createdBy === incoming_createdBy)) {
11396
- return false;
11397
- }
11398
- const existing_createdDate = existing.createdDate;
11399
- const incoming_createdDate = incoming.createdDate;
11400
- if (!(existing_createdDate === incoming_createdDate)) {
11401
- return false;
11402
- }
11403
- const existing_description = existing.description;
11404
- const incoming_description = incoming.description;
11405
- // if at least one of these optionals is defined
11406
- if (existing_description !== undefined || incoming_description !== undefined) {
11407
- // if one of these is not defined we know the other is defined and therefore
11408
- // not equal
11409
- if (existing_description === undefined || incoming_description === undefined) {
11410
- return false;
11411
- }
11412
- if (!(existing_description === incoming_description)) {
11413
- return false;
11414
- }
11415
- }
11416
- const existing_id = existing.id;
11417
- const incoming_id = incoming.id;
11418
- if (!(existing_id === incoming_id)) {
11419
- return false;
11420
- }
11421
- const existing_label = existing.label;
11422
- const incoming_label = incoming.label;
11423
- // if at least one of these optionals is defined
11424
- if (existing_label !== undefined || incoming_label !== undefined) {
11425
- // if one of these is not defined we know the other is defined and therefore
11426
- // not equal
11427
- if (existing_label === undefined || incoming_label === undefined) {
11428
- return false;
11429
- }
11430
- if (!(existing_label === incoming_label)) {
11431
- return false;
11432
- }
11433
- }
11434
- const existing_lastModifiedBy = existing.lastModifiedBy;
11435
- const incoming_lastModifiedBy = incoming.lastModifiedBy;
11436
- // if at least one of these optionals is defined
11437
- if (existing_lastModifiedBy !== undefined || incoming_lastModifiedBy !== undefined) {
11438
- // if one of these is not defined we know the other is defined and therefore
11439
- // not equal
11440
- if (existing_lastModifiedBy === undefined || incoming_lastModifiedBy === undefined) {
11441
- return false;
11442
- }
11443
- if (!(existing_lastModifiedBy === incoming_lastModifiedBy)) {
11444
- return false;
11445
- }
11446
- }
11447
- const existing_lastModifiedDate = existing.lastModifiedDate;
11448
- const incoming_lastModifiedDate = incoming.lastModifiedDate;
11449
- // if at least one of these optionals is defined
11450
- if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
11451
- // if one of these is not defined we know the other is defined and therefore
11452
- // not equal
11453
- if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
11454
- return false;
11455
- }
11456
- if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
11457
- return false;
11120
+ for (let i = 0; i < obj_statusConditions.length; i++) {
11121
+ const obj_statusConditions_item = obj_statusConditions[i];
11122
+ const path_statusConditions_item = path_statusConditions + '[' + i + ']';
11123
+ const referencepath_statusConditions_itemValidationError = validate$b(obj_statusConditions_item, path_statusConditions_item);
11124
+ if (referencepath_statusConditions_itemValidationError !== null) {
11125
+ let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
11126
+ message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
11127
+ return new TypeError(message);
11128
+ }
11458
11129
  }
11459
- }
11460
- const existing_subMetricDefinitionApiName = existing.subMetricDefinitionApiName;
11461
- const incoming_subMetricDefinitionApiName = incoming.subMetricDefinitionApiName;
11462
- if (!(existing_subMetricDefinitionApiName === incoming_subMetricDefinitionApiName)) {
11463
- return false;
11464
- }
11465
- const existing_dateRange = existing.dateRange;
11466
- const incoming_dateRange = incoming.dateRange;
11467
- if (!(equals$6(existing_dateRange, incoming_dateRange))) {
11468
- return false;
11469
- }
11470
- const existing_statusConditions = existing.statusConditions;
11471
- const incoming_statusConditions = incoming.statusConditions;
11472
- const equals_statusConditions_items = equalsArray(existing_statusConditions, incoming_statusConditions, (existing_statusConditions_item, incoming_statusConditions_item) => {
11473
- if (!(equals$5(existing_statusConditions_item, incoming_statusConditions_item))) {
11474
- return false;
11130
+ const obj_subMetricDefinitionApiName = obj.subMetricDefinitionApiName;
11131
+ const path_subMetricDefinitionApiName = path + '.subMetricDefinitionApiName';
11132
+ if (typeof obj_subMetricDefinitionApiName !== 'string') {
11133
+ return new TypeError('Expected "string" but received "' + typeof obj_subMetricDefinitionApiName + '" (at "' + path_subMetricDefinitionApiName + '")');
11475
11134
  }
11476
- });
11477
- if (equals_statusConditions_items === false) {
11135
+ })();
11136
+ return v_error === undefined ? null : v_error;
11137
+ }
11138
+ const RepresentationType$4 = 'SemanticGoalOutputRepresentation';
11139
+ function keyBuilder$i(luvio, config) {
11140
+ return keyPrefix + '::' + RepresentationType$4 + ':' + config.subMetricNameOrId + ':' + config.startDate + ':' + config.endDate;
11141
+ }
11142
+ function keyBuilderFromType$1(luvio, object) {
11143
+ const keyParams = {
11144
+ subMetricNameOrId: object.subMetricDefinitionApiName,
11145
+ startDate: object.dateRange.startDate,
11146
+ endDate: object.dateRange.endDate
11147
+ };
11148
+ return keyBuilder$i(luvio, keyParams);
11149
+ }
11150
+ function normalize$4(input, existing, path, luvio, store, timestamp) {
11151
+ return input;
11152
+ }
11153
+ const select$f = function SemanticGoalOutputRepresentationSelect() {
11154
+ return {
11155
+ kind: 'Fragment',
11156
+ version: VERSION$4,
11157
+ private: [],
11158
+ opaque: true
11159
+ };
11160
+ };
11161
+ function equals$4(existing, incoming) {
11162
+ if (JSONStringify(incoming) !== JSONStringify(existing)) {
11478
11163
  return false;
11479
11164
  }
11480
11165
  return true;
@@ -11501,24 +11186,115 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
11501
11186
  });
11502
11187
  }
11503
11188
 
11504
- function select$d(luvio, params) {
11505
- return select$e();
11189
+ function keyBuilder$h(luvio, params) {
11190
+ return keyBuilder$i(luvio, {
11191
+ subMetricNameOrId: params.queryParams.subMetricApiNameOrId,
11192
+ startDate: params.queryParams.startDate,
11193
+ endDate: params.queryParams.endDate
11194
+ });
11195
+ }
11196
+ function getResponseCacheKeys$d(cacheKeyMap, luvio, resourceParams) {
11197
+ const key = keyBuilder$h(luvio, resourceParams);
11198
+ cacheKeyMap.set(key, {
11199
+ namespace: keyPrefix,
11200
+ representationName: RepresentationType$4,
11201
+ mergeable: false
11202
+ });
11203
+ }
11204
+ function evictSuccess$2(luvio, resourceParams) {
11205
+ const key = keyBuilder$h(luvio, resourceParams);
11206
+ luvio.storeEvict(key);
11207
+ }
11208
+ function createResourceRequest$d(config) {
11209
+ const headers = {};
11210
+ return {
11211
+ baseUri: '/services/data/v64.0',
11212
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/goals',
11213
+ method: 'delete',
11214
+ body: null,
11215
+ urlParams: config.urlParams,
11216
+ queryParams: config.queryParams,
11217
+ headers,
11218
+ priority: 'normal',
11219
+ };
11220
+ }
11221
+
11222
+ const adapterName$d = 'deleteSemanticGoal';
11223
+ const deleteSemanticGoal_ConfigPropertyMetadata = [
11224
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11225
+ generateParamConfigMetadata('endDate', true, 1 /* QueryParameter */, 0 /* String */),
11226
+ generateParamConfigMetadata('startDate', true, 1 /* QueryParameter */, 0 /* String */),
11227
+ generateParamConfigMetadata('subMetricApiNameOrId', true, 1 /* QueryParameter */, 0 /* String */),
11228
+ ];
11229
+ const deleteSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, deleteSemanticGoal_ConfigPropertyMetadata);
11230
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$k(deleteSemanticGoal_ConfigPropertyMetadata);
11231
+ function typeCheckConfig$d(untrustedConfig) {
11232
+ const config = {};
11233
+ typeCheckConfig$k(untrustedConfig, config, deleteSemanticGoal_ConfigPropertyMetadata);
11234
+ return config;
11235
+ }
11236
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
11237
+ if (!untrustedIsObject(untrustedConfig)) {
11238
+ return null;
11239
+ }
11240
+ if (process.env.NODE_ENV !== 'production') {
11241
+ validateConfig(untrustedConfig, configPropertyNames);
11242
+ }
11243
+ const config = typeCheckConfig$d(untrustedConfig);
11244
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
11245
+ return null;
11246
+ }
11247
+ return config;
11248
+ }
11249
+ function buildNetworkSnapshot$d(luvio, config, options) {
11250
+ const resourceParams = createResourceParams$d(config);
11251
+ const request = createResourceRequest$d(resourceParams);
11252
+ return luvio.dispatchResourceRequest(request, options)
11253
+ .then(() => {
11254
+ return luvio.handleSuccessResponse(() => {
11255
+ evictSuccess$2(luvio, resourceParams);
11256
+ return luvio.storeBroadcast();
11257
+ }, () => {
11258
+ const cache = new StoreKeyMap();
11259
+ getResponseCacheKeys$d(cache, luvio, resourceParams);
11260
+ return cache;
11261
+ });
11262
+ }, (response) => {
11263
+ deepFreeze(response);
11264
+ throw response;
11265
+ });
11266
+ }
11267
+ const deleteSemanticGoalAdapterFactory = (luvio) => {
11268
+ return function SemanticAuthoringdeleteSemanticGoal(untrustedConfig) {
11269
+ const config = validateAdapterConfig$d(untrustedConfig, deleteSemanticGoal_ConfigPropertyNames);
11270
+ // Invalid or incomplete config
11271
+ if (config === null) {
11272
+ throw new Error(`Invalid config for "${adapterName$d}"`);
11273
+ }
11274
+ return buildNetworkSnapshot$d(luvio, config);
11275
+ };
11276
+ };
11277
+
11278
+ function select$e(luvio, params) {
11279
+ return select$f();
11506
11280
  }
11507
11281
  function keyBuilder$g(luvio, params) {
11508
- return keyBuilder$h(luvio, {
11509
- name: params.urlParams.modelApiNameOrId
11282
+ return keyBuilder$i(luvio, {
11283
+ subMetricNameOrId: params.queryParams.subMetricApiNameOrId,
11284
+ startDate: params.queryParams.startDate,
11285
+ endDate: params.queryParams.endDate
11510
11286
  });
11511
11287
  }
11512
- function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
11288
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
11513
11289
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
11514
11290
  }
11515
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
11291
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
11516
11292
  const { body } = response;
11517
11293
  const key = keyBuilder$g(luvio, resourceParams);
11518
11294
  luvio.storeIngest(key, ingest$4, body);
11519
11295
  const snapshot = luvio.storeLookup({
11520
11296
  recordId: key,
11521
- node: select$d(),
11297
+ node: select$e(),
11522
11298
  variables: {},
11523
11299
  }, snapshotRefresh);
11524
11300
  if (process.env.NODE_ENV !== 'production') {
@@ -11535,7 +11311,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
11535
11311
  luvio.storeIngestError(key, errorSnapshot);
11536
11312
  return errorSnapshot;
11537
11313
  }
11538
- function createResourceRequest$b(config) {
11314
+ function createResourceRequest$c(config) {
11539
11315
  const headers = {};
11540
11316
  return {
11541
11317
  baseUri: '/services/data/v64.0',
@@ -11549,63 +11325,63 @@ function createResourceRequest$b(config) {
11549
11325
  };
11550
11326
  }
11551
11327
 
11552
- const adapterName$b = 'getSemanticGoal';
11328
+ const adapterName$c = 'getSemanticGoal';
11553
11329
  const getSemanticGoal_ConfigPropertyMetadata = [
11554
11330
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11555
- generateParamConfigMetadata('endDate', false, 1 /* QueryParameter */, 0 /* String */),
11556
- generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
11557
- generateParamConfigMetadata('subMetricApiNameOrId', false, 1 /* QueryParameter */, 0 /* String */),
11331
+ generateParamConfigMetadata('endDate', true, 1 /* QueryParameter */, 0 /* String */),
11332
+ generateParamConfigMetadata('startDate', true, 1 /* QueryParameter */, 0 /* String */),
11333
+ generateParamConfigMetadata('subMetricApiNameOrId', true, 1 /* QueryParameter */, 0 /* String */),
11558
11334
  ];
11559
- const getSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSemanticGoal_ConfigPropertyMetadata);
11560
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$i(getSemanticGoal_ConfigPropertyMetadata);
11335
+ const getSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSemanticGoal_ConfigPropertyMetadata);
11336
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$k(getSemanticGoal_ConfigPropertyMetadata);
11561
11337
  function keyBuilder$f(luvio, config) {
11562
- const resourceParams = createResourceParams$b(config);
11338
+ const resourceParams = createResourceParams$c(config);
11563
11339
  return keyBuilder$g(luvio, resourceParams);
11564
11340
  }
11565
- function typeCheckConfig$b(untrustedConfig) {
11341
+ function typeCheckConfig$c(untrustedConfig) {
11566
11342
  const config = {};
11567
- typeCheckConfig$i(untrustedConfig, config, getSemanticGoal_ConfigPropertyMetadata);
11343
+ typeCheckConfig$k(untrustedConfig, config, getSemanticGoal_ConfigPropertyMetadata);
11568
11344
  return config;
11569
11345
  }
11570
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
11346
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
11571
11347
  if (!untrustedIsObject(untrustedConfig)) {
11572
11348
  return null;
11573
11349
  }
11574
11350
  if (process.env.NODE_ENV !== 'production') {
11575
11351
  validateConfig(untrustedConfig, configPropertyNames);
11576
11352
  }
11577
- const config = typeCheckConfig$b(untrustedConfig);
11353
+ const config = typeCheckConfig$c(untrustedConfig);
11578
11354
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
11579
11355
  return null;
11580
11356
  }
11581
11357
  return config;
11582
11358
  }
11583
11359
  function adapterFragment$6(luvio, config) {
11584
- createResourceParams$b(config);
11585
- return select$d();
11360
+ createResourceParams$c(config);
11361
+ return select$e();
11586
11362
  }
11587
11363
  function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
11588
- const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
11364
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
11589
11365
  config,
11590
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
11366
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
11591
11367
  });
11592
11368
  return luvio.storeBroadcast().then(() => snapshot);
11593
11369
  }
11594
11370
  function onFetchResponseError$6(luvio, config, resourceParams, response) {
11595
11371
  const snapshot = ingestError$6(luvio, resourceParams, response, {
11596
11372
  config,
11597
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
11373
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
11598
11374
  });
11599
11375
  return luvio.storeBroadcast().then(() => snapshot);
11600
11376
  }
11601
- function buildNetworkSnapshot$b(luvio, config, options) {
11602
- const resourceParams = createResourceParams$b(config);
11603
- const request = createResourceRequest$b(resourceParams);
11377
+ function buildNetworkSnapshot$c(luvio, config, options) {
11378
+ const resourceParams = createResourceParams$c(config);
11379
+ const request = createResourceRequest$c(resourceParams);
11604
11380
  return luvio.dispatchResourceRequest(request, options)
11605
11381
  .then((response) => {
11606
11382
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
11607
11383
  const cache = new StoreKeyMap();
11608
- getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
11384
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
11609
11385
  return cache;
11610
11386
  });
11611
11387
  }, (response) => {
@@ -11613,7 +11389,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
11613
11389
  });
11614
11390
  }
11615
11391
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
11616
- return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
11392
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
11617
11393
  }
11618
11394
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
11619
11395
  const { luvio, config } = context;
@@ -11624,12 +11400,12 @@ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
11624
11400
  };
11625
11401
  const cacheSnapshot = storeLookup(selector, {
11626
11402
  config,
11627
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
11403
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
11628
11404
  });
11629
11405
  return cacheSnapshot;
11630
11406
  }
11631
11407
  const getSemanticGoalAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticGoal(untrustedConfig, requestContext) {
11632
- const config = validateAdapterConfig$b(untrustedConfig, getSemanticGoal_ConfigPropertyNames);
11408
+ const config = validateAdapterConfig$c(untrustedConfig, getSemanticGoal_ConfigPropertyNames);
11633
11409
  // Invalid or incomplete config
11634
11410
  if (config === null) {
11635
11411
  return null;
@@ -11712,8 +11488,122 @@ function validate$8(obj, path = 'SemanticGoalStatusConditionInputRepresentation'
11712
11488
  return v_error === undefined ? null : v_error;
11713
11489
  }
11714
11490
 
11491
+ function select$d(luvio, params) {
11492
+ return select$f();
11493
+ }
11494
+ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
11495
+ getTypeCacheKeys$4(storeKeyMap, luvio, response);
11496
+ }
11497
+ function ingestSuccess$9(luvio, resourceParams, response) {
11498
+ const { body } = response;
11499
+ const key = keyBuilderFromType$1(luvio, body);
11500
+ luvio.storeIngest(key, ingest$4, body);
11501
+ const snapshot = luvio.storeLookup({
11502
+ recordId: key,
11503
+ node: select$d(),
11504
+ variables: {},
11505
+ });
11506
+ if (process.env.NODE_ENV !== 'production') {
11507
+ if (snapshot.state !== 'Fulfilled') {
11508
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
11509
+ }
11510
+ }
11511
+ deepFreeze(snapshot.data);
11512
+ return snapshot;
11513
+ }
11514
+ function createResourceRequest$b(config) {
11515
+ const headers = {};
11516
+ return {
11517
+ baseUri: '/services/data/v64.0',
11518
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/goals',
11519
+ method: 'post',
11520
+ body: config.body,
11521
+ urlParams: config.urlParams,
11522
+ queryParams: {},
11523
+ headers,
11524
+ priority: 'normal',
11525
+ };
11526
+ }
11527
+
11528
+ const adapterName$b = 'createSemanticGoal';
11529
+ const createSemanticGoal_ConfigPropertyMetadata = [
11530
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11531
+ generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
11532
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
11533
+ generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
11534
+ generateParamConfigMetadata('dateRange', true, 2 /* Body */, 4 /* Unsupported */),
11535
+ generateParamConfigMetadata('forecasting', false, 2 /* Body */, 1 /* Boolean */),
11536
+ generateParamConfigMetadata('statusConditions', true, 2 /* Body */, 4 /* Unsupported */, true),
11537
+ generateParamConfigMetadata('subMetricDefinitionApiName', true, 2 /* Body */, 0 /* String */),
11538
+ ];
11539
+ const createSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, createSemanticGoal_ConfigPropertyMetadata);
11540
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$k(createSemanticGoal_ConfigPropertyMetadata);
11541
+ function typeCheckConfig$b(untrustedConfig) {
11542
+ const config = {};
11543
+ typeCheckConfig$k(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
11544
+ const untrustedConfig_dateRange = untrustedConfig.dateRange;
11545
+ const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$9(untrustedConfig_dateRange);
11546
+ if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
11547
+ config.dateRange = untrustedConfig_dateRange;
11548
+ }
11549
+ const untrustedConfig_statusConditions = untrustedConfig.statusConditions;
11550
+ if (ArrayIsArray$1(untrustedConfig_statusConditions)) {
11551
+ const untrustedConfig_statusConditions_array = [];
11552
+ for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
11553
+ const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
11554
+ const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$8(untrustedConfig_statusConditions_item);
11555
+ if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
11556
+ untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
11557
+ }
11558
+ }
11559
+ config.statusConditions = untrustedConfig_statusConditions_array;
11560
+ }
11561
+ return config;
11562
+ }
11563
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
11564
+ if (!untrustedIsObject(untrustedConfig)) {
11565
+ return null;
11566
+ }
11567
+ if (process.env.NODE_ENV !== 'production') {
11568
+ validateConfig(untrustedConfig, configPropertyNames);
11569
+ }
11570
+ const config = typeCheckConfig$b(untrustedConfig);
11571
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
11572
+ return null;
11573
+ }
11574
+ return config;
11575
+ }
11576
+ function buildNetworkSnapshot$b(luvio, config, options) {
11577
+ const resourceParams = createResourceParams$b(config);
11578
+ const request = createResourceRequest$b(resourceParams);
11579
+ return luvio.dispatchResourceRequest(request, options)
11580
+ .then((response) => {
11581
+ return luvio.handleSuccessResponse(() => {
11582
+ const snapshot = ingestSuccess$9(luvio, resourceParams, response);
11583
+ return luvio.storeBroadcast().then(() => snapshot);
11584
+ }, () => {
11585
+ const cache = new StoreKeyMap();
11586
+ getResponseCacheKeys$b(cache, luvio, resourceParams, response.body);
11587
+ return cache;
11588
+ });
11589
+ }, (response) => {
11590
+ deepFreeze(response);
11591
+ throw response;
11592
+ });
11593
+ }
11594
+ const createSemanticGoalAdapterFactory = (luvio) => {
11595
+ return function createSemanticGoal(untrustedConfig) {
11596
+ const config = validateAdapterConfig$b(untrustedConfig, createSemanticGoal_ConfigPropertyNames);
11597
+ // Invalid or incomplete config
11598
+ if (config === null) {
11599
+ throw new Error('Invalid config for "createSemanticGoal"');
11600
+ }
11601
+ return buildNetworkSnapshot$b(luvio, config);
11602
+ };
11603
+ };
11604
+
11715
11605
  function select$c(luvio, params) {
11716
- return select$e();
11606
+ return select$f();
11717
11607
  }
11718
11608
  function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
11719
11609
  getTypeCacheKeys$4(storeKeyMap, luvio, response);
@@ -11740,31 +11630,34 @@ function createResourceRequest$a(config) {
11740
11630
  return {
11741
11631
  baseUri: '/services/data/v64.0',
11742
11632
  basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/goals',
11743
- method: 'post',
11633
+ method: 'put',
11744
11634
  body: config.body,
11745
11635
  urlParams: config.urlParams,
11746
- queryParams: {},
11636
+ queryParams: config.queryParams,
11747
11637
  headers,
11748
11638
  priority: 'normal',
11749
11639
  };
11750
11640
  }
11751
11641
 
11752
- const adapterName$a = 'createSemanticGoal';
11753
- const createSemanticGoal_ConfigPropertyMetadata = [
11642
+ const adapterName$a = 'updateSemanticGoal';
11643
+ const updateSemanticGoal_ConfigPropertyMetadata = [
11754
11644
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
11645
+ generateParamConfigMetadata('endDate', true, 1 /* QueryParameter */, 0 /* String */),
11646
+ generateParamConfigMetadata('startDate', true, 1 /* QueryParameter */, 0 /* String */),
11647
+ generateParamConfigMetadata('subMetricApiNameOrId', true, 1 /* QueryParameter */, 0 /* String */),
11755
11648
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
11756
11649
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
11757
11650
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
11758
- generateParamConfigMetadata('dateRange', false, 2 /* Body */, 4 /* Unsupported */),
11651
+ generateParamConfigMetadata('dateRange', true, 2 /* Body */, 4 /* Unsupported */),
11759
11652
  generateParamConfigMetadata('forecasting', false, 2 /* Body */, 1 /* Boolean */),
11760
- generateParamConfigMetadata('statusConditions', false, 2 /* Body */, 4 /* Unsupported */, true),
11761
- generateParamConfigMetadata('subMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
11653
+ generateParamConfigMetadata('statusConditions', true, 2 /* Body */, 4 /* Unsupported */, true),
11654
+ generateParamConfigMetadata('subMetricDefinitionApiName', true, 2 /* Body */, 0 /* String */),
11762
11655
  ];
11763
- const createSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createSemanticGoal_ConfigPropertyMetadata);
11764
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$i(createSemanticGoal_ConfigPropertyMetadata);
11656
+ const updateSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, updateSemanticGoal_ConfigPropertyMetadata);
11657
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$k(updateSemanticGoal_ConfigPropertyMetadata);
11765
11658
  function typeCheckConfig$a(untrustedConfig) {
11766
11659
  const config = {};
11767
- typeCheckConfig$i(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
11660
+ typeCheckConfig$k(untrustedConfig, config, updateSemanticGoal_ConfigPropertyMetadata);
11768
11661
  const untrustedConfig_dateRange = untrustedConfig.dateRange;
11769
11662
  const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$9(untrustedConfig_dateRange);
11770
11663
  if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
@@ -11815,12 +11708,12 @@ function buildNetworkSnapshot$a(luvio, config, options) {
11815
11708
  throw response;
11816
11709
  });
11817
11710
  }
11818
- const createSemanticGoalAdapterFactory = (luvio) => {
11819
- return function createSemanticGoal(untrustedConfig) {
11820
- const config = validateAdapterConfig$a(untrustedConfig, createSemanticGoal_ConfigPropertyNames);
11711
+ const updateSemanticGoalAdapterFactory = (luvio) => {
11712
+ return function updateSemanticGoal(untrustedConfig) {
11713
+ const config = validateAdapterConfig$a(untrustedConfig, updateSemanticGoal_ConfigPropertyNames);
11821
11714
  // Invalid or incomplete config
11822
11715
  if (config === null) {
11823
- throw new Error('Invalid config for "createSemanticGoal"');
11716
+ throw new Error('Invalid config for "updateSemanticGoal"');
11824
11717
  }
11825
11718
  return buildNetworkSnapshot$a(luvio, config);
11826
11719
  };
@@ -12363,14 +12256,14 @@ const getSemanticMetricsToSubMetrics_ConfigPropertyMetadata = [
12363
12256
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12364
12257
  ];
12365
12258
  const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
12366
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$i(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
12259
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$k(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
12367
12260
  function keyBuilder$c(luvio, config) {
12368
12261
  const resourceParams = createResourceParams$9(config);
12369
12262
  return keyBuilder$d(luvio, resourceParams);
12370
12263
  }
12371
12264
  function typeCheckConfig$9(untrustedConfig) {
12372
12265
  const config = {};
12373
- typeCheckConfig$i(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
12266
+ typeCheckConfig$k(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
12374
12267
  return config;
12375
12268
  }
12376
12269
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -12445,7 +12338,7 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
12445
12338
  };
12446
12339
 
12447
12340
  function select$7(luvio, params) {
12448
- return select$J();
12341
+ return select$I();
12449
12342
  }
12450
12343
  function keyBuilder$b(luvio, params) {
12451
12344
  return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
@@ -12495,14 +12388,14 @@ const getSemanticMetrics_ConfigPropertyMetadata = [
12495
12388
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12496
12389
  ];
12497
12390
  const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticMetrics_ConfigPropertyMetadata);
12498
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$i(getSemanticMetrics_ConfigPropertyMetadata);
12391
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$k(getSemanticMetrics_ConfigPropertyMetadata);
12499
12392
  function keyBuilder$a(luvio, config) {
12500
12393
  const resourceParams = createResourceParams$8(config);
12501
12394
  return keyBuilder$b(luvio, resourceParams);
12502
12395
  }
12503
12396
  function typeCheckConfig$8(untrustedConfig) {
12504
12397
  const config = {};
12505
- typeCheckConfig$i(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
12398
+ typeCheckConfig$k(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
12506
12399
  return config;
12507
12400
  }
12508
12401
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -12577,10 +12470,10 @@ const getSemanticMetricsAdapterFactory = (luvio) => function SemanticAuthoring__
12577
12470
  };
12578
12471
 
12579
12472
  function select$6(luvio, params) {
12580
- return select$K();
12473
+ return select$J();
12581
12474
  }
12582
12475
  function keyBuilder$9(luvio, params) {
12583
- return keyBuilder$A(luvio, {
12476
+ return keyBuilder$B(luvio, {
12584
12477
  name: params.urlParams.metricNameOrId
12585
12478
  });
12586
12479
  }
@@ -12630,14 +12523,14 @@ const getSemanticMetric_ConfigPropertyMetadata = [
12630
12523
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12631
12524
  ];
12632
12525
  const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetric_ConfigPropertyMetadata);
12633
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$i(getSemanticMetric_ConfigPropertyMetadata);
12526
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$k(getSemanticMetric_ConfigPropertyMetadata);
12634
12527
  function keyBuilder$8(luvio, config) {
12635
12528
  const resourceParams = createResourceParams$7(config);
12636
12529
  return keyBuilder$9(luvio, resourceParams);
12637
12530
  }
12638
12531
  function typeCheckConfig$7(untrustedConfig) {
12639
12532
  const config = {};
12640
- typeCheckConfig$i(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
12533
+ typeCheckConfig$k(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
12641
12534
  return config;
12642
12535
  }
12643
12536
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -12872,14 +12765,14 @@ const getSemanticSubMetrics_ConfigPropertyMetadata = [
12872
12765
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12873
12766
  ];
12874
12767
  const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticSubMetrics_ConfigPropertyMetadata);
12875
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetrics_ConfigPropertyMetadata);
12768
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$k(getSemanticSubMetrics_ConfigPropertyMetadata);
12876
12769
  function keyBuilder$6(luvio, config) {
12877
12770
  const resourceParams = createResourceParams$6(config);
12878
12771
  return keyBuilder$7(luvio, resourceParams);
12879
12772
  }
12880
12773
  function typeCheckConfig$6(untrustedConfig) {
12881
12774
  const config = {};
12882
- typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
12775
+ typeCheckConfig$k(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
12883
12776
  return config;
12884
12777
  }
12885
12778
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -13066,10 +12959,10 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
13066
12959
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
13067
12960
  ];
13068
12961
  const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, createSemanticSubMetric_ConfigPropertyMetadata);
13069
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$i(createSemanticSubMetric_ConfigPropertyMetadata);
12962
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$k(createSemanticSubMetric_ConfigPropertyMetadata);
13070
12963
  function typeCheckConfig$5(untrustedConfig) {
13071
12964
  const config = {};
13072
- typeCheckConfig$i(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
12965
+ typeCheckConfig$k(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
13073
12966
  const untrustedConfig_filters = untrustedConfig.filters;
13074
12967
  if (ArrayIsArray$1(untrustedConfig_filters)) {
13075
12968
  const untrustedConfig_filters_array = [];
@@ -13173,10 +13066,10 @@ const deleteSemanticSubMetric_ConfigPropertyMetadata = [
13173
13066
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
13174
13067
  ];
13175
13068
  const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, deleteSemanticSubMetric_ConfigPropertyMetadata);
13176
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$i(deleteSemanticSubMetric_ConfigPropertyMetadata);
13069
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$k(deleteSemanticSubMetric_ConfigPropertyMetadata);
13177
13070
  function typeCheckConfig$4(untrustedConfig) {
13178
13071
  const config = {};
13179
- typeCheckConfig$i(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
13072
+ typeCheckConfig$k(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
13180
13073
  return config;
13181
13074
  }
13182
13075
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -13275,14 +13168,14 @@ const getSemanticSubMetric_ConfigPropertyMetadata = [
13275
13168
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
13276
13169
  ];
13277
13170
  const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticSubMetric_ConfigPropertyMetadata);
13278
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetric_ConfigPropertyMetadata);
13171
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$k(getSemanticSubMetric_ConfigPropertyMetadata);
13279
13172
  function keyBuilder$3(luvio, config) {
13280
13173
  const resourceParams = createResourceParams$3(config);
13281
13174
  return keyBuilder$4(luvio, resourceParams);
13282
13175
  }
13283
13176
  function typeCheckConfig$3(untrustedConfig) {
13284
13177
  const config = {};
13285
- typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
13178
+ typeCheckConfig$k(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
13286
13179
  return config;
13287
13180
  }
13288
13181
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -13393,10 +13286,10 @@ const deleteGoalFromSubMetric_ConfigPropertyMetadata = [
13393
13286
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
13394
13287
  ];
13395
13288
  const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, deleteGoalFromSubMetric_ConfigPropertyMetadata);
13396
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$i(deleteGoalFromSubMetric_ConfigPropertyMetadata);
13289
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$k(deleteGoalFromSubMetric_ConfigPropertyMetadata);
13397
13290
  function typeCheckConfig$2(untrustedConfig) {
13398
13291
  const config = {};
13399
- typeCheckConfig$i(untrustedConfig, config, deleteGoalFromSubMetric_ConfigPropertyMetadata);
13292
+ typeCheckConfig$k(untrustedConfig, config, deleteGoalFromSubMetric_ConfigPropertyMetadata);
13400
13293
  return config;
13401
13294
  }
13402
13295
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -13486,10 +13379,10 @@ const patchSemanticMetricGoal_ConfigPropertyMetadata = [
13486
13379
  generateParamConfigMetadata('statusConditions', false, 2 /* Body */, 4 /* Unsupported */, true),
13487
13380
  ];
13488
13381
  const patchSemanticMetricGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, patchSemanticMetricGoal_ConfigPropertyMetadata);
13489
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$i(patchSemanticMetricGoal_ConfigPropertyMetadata);
13382
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$k(patchSemanticMetricGoal_ConfigPropertyMetadata);
13490
13383
  function typeCheckConfig$1(untrustedConfig) {
13491
13384
  const config = {};
13492
- typeCheckConfig$i(untrustedConfig, config, patchSemanticMetricGoal_ConfigPropertyMetadata);
13385
+ typeCheckConfig$k(untrustedConfig, config, patchSemanticMetricGoal_ConfigPropertyMetadata);
13493
13386
  const untrustedConfig_statusConditions = untrustedConfig.statusConditions;
13494
13387
  if (ArrayIsArray$1(untrustedConfig_statusConditions)) {
13495
13388
  const untrustedConfig_statusConditions_array = [];
@@ -13599,14 +13492,14 @@ const getSemanticSubMetricsById_ConfigPropertyMetadata = [
13599
13492
  generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
13600
13493
  ];
13601
13494
  const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSemanticSubMetricsById_ConfigPropertyMetadata);
13602
- const createResourceParams = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetricsById_ConfigPropertyMetadata);
13495
+ const createResourceParams = /*#__PURE__*/ createResourceParams$k(getSemanticSubMetricsById_ConfigPropertyMetadata);
13603
13496
  function keyBuilder(luvio, config) {
13604
13497
  const resourceParams = createResourceParams(config);
13605
13498
  return keyBuilder$1(luvio, resourceParams);
13606
13499
  }
13607
13500
  function typeCheckConfig(untrustedConfig) {
13608
13501
  const config = {};
13609
- typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
13502
+ typeCheckConfig$k(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
13610
13503
  return config;
13611
13504
  }
13612
13505
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -13680,4 +13573,4 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
13680
13573
  buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
13681
13574
  };
13682
13575
 
13683
- export { createSemanticGoalAdapterFactory, createSemanticModelAdapterFactory, createSemanticSubMetricAdapterFactory, deleteGoalFromSubMetricAdapterFactory, deleteSemanticSubMetricAdapterFactory, getLeafDependenciesByTypesAdapterFactory, getSemanticGoalAdapterFactory, getSemanticMetricAdapterFactory, getSemanticMetricsAdapterFactory, getSemanticMetricsByIdsAdapterFactory, getSemanticMetricsToSubMetricsAdapterFactory, getSemanticModelAdapterFactory, getSemanticModelsAdapterFactory, getSemanticSubMetricAdapterFactory, getSemanticSubMetricsAdapterFactory, getSemanticSubMetricsByIdAdapterFactory, patchSemanticMetricGoalAdapterFactory, patchSemanticModelAdapterFactory };
13576
+ export { createSemanticGoalAdapterFactory, createSemanticModelAdapterFactory, createSemanticSubMetricAdapterFactory, deleteGoalFromSubMetricAdapterFactory, deleteSemanticGoalAdapterFactory, deleteSemanticSubMetricAdapterFactory, getLeafDependenciesByTypesAdapterFactory, getSemanticGoalAdapterFactory, getSemanticMetricAdapterFactory, getSemanticMetricsAdapterFactory, getSemanticMetricsByIdsAdapterFactory, getSemanticMetricsToSubMetricsAdapterFactory, getSemanticModelAdapterFactory, getSemanticModelsAdapterFactory, getSemanticSubMetricAdapterFactory, getSemanticSubMetricsAdapterFactory, getSemanticSubMetricsByIdAdapterFactory, patchSemanticMetricGoalAdapterFactory, patchSemanticModelAdapterFactory, updateSemanticGoalAdapterFactory };