@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev13 → 1.332.0-dev14

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.
package/sfdc/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$g, typeCheckConfig as typeCheckConfig$g, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$a } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$i, typeCheckConfig as typeCheckConfig$i, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$b } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
20
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
@@ -102,7 +102,725 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$11(obj, path = 'SemanticBaseModelInputRepresentation') {
105
+ function validate$14(obj, path = 'SemanticGoalDateRangeInputRepresentation') {
106
+ const v_error = (() => {
107
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
108
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
109
+ }
110
+ if (obj.endDate !== undefined) {
111
+ const obj_endDate = obj.endDate;
112
+ const path_endDate = path + '.endDate';
113
+ if (typeof obj_endDate !== 'string') {
114
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
115
+ }
116
+ }
117
+ if (obj.startDate !== undefined) {
118
+ const obj_startDate = obj.startDate;
119
+ const path_startDate = path + '.startDate';
120
+ if (typeof obj_startDate !== 'string') {
121
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
122
+ }
123
+ }
124
+ })();
125
+ return v_error === undefined ? null : v_error;
126
+ }
127
+
128
+ function validate$13(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
129
+ const v_error = (() => {
130
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
131
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
132
+ }
133
+ if (obj.color !== undefined) {
134
+ const obj_color = obj.color;
135
+ const path_color = path + '.color';
136
+ if (typeof obj_color !== 'string') {
137
+ return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
138
+ }
139
+ }
140
+ if (obj.currencyIsoCode !== undefined) {
141
+ const obj_currencyIsoCode = obj.currencyIsoCode;
142
+ const path_currencyIsoCode = path + '.currencyIsoCode';
143
+ if (typeof obj_currencyIsoCode !== 'string') {
144
+ return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
145
+ }
146
+ }
147
+ if (obj.operator !== undefined) {
148
+ const obj_operator = obj.operator;
149
+ const path_operator = path + '.operator';
150
+ if (typeof obj_operator !== 'string') {
151
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
152
+ }
153
+ }
154
+ if (obj.primary !== undefined) {
155
+ const obj_primary = obj.primary;
156
+ const path_primary = path + '.primary';
157
+ if (typeof obj_primary !== 'boolean') {
158
+ return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
159
+ }
160
+ }
161
+ if (obj.statusName !== undefined) {
162
+ const obj_statusName = obj.statusName;
163
+ const path_statusName = path + '.statusName';
164
+ if (typeof obj_statusName !== 'string') {
165
+ return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
166
+ }
167
+ }
168
+ if (obj.value !== undefined) {
169
+ const obj_value = obj.value;
170
+ const path_value = path + '.value';
171
+ if (typeof obj_value !== 'string') {
172
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
173
+ }
174
+ }
175
+ })();
176
+ return v_error === undefined ? null : v_error;
177
+ }
178
+
179
+ const VERSION$A = "d8d5260b9a2483297bc9bf979347739e";
180
+ function validate$12(obj, path = 'SemanticGoalDateRangeOutputRepresentation') {
181
+ const v_error = (() => {
182
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
183
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
184
+ }
185
+ if (obj.endDate !== undefined) {
186
+ const obj_endDate = obj.endDate;
187
+ const path_endDate = path + '.endDate';
188
+ if (typeof obj_endDate !== 'string') {
189
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
190
+ }
191
+ }
192
+ if (obj.startDate !== undefined) {
193
+ const obj_startDate = obj.startDate;
194
+ const path_startDate = path + '.startDate';
195
+ if (typeof obj_startDate !== 'string') {
196
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
197
+ }
198
+ }
199
+ })();
200
+ return v_error === undefined ? null : v_error;
201
+ }
202
+ const select$Q = function SemanticGoalDateRangeOutputRepresentationSelect() {
203
+ return {
204
+ kind: 'Fragment',
205
+ version: VERSION$A,
206
+ private: [],
207
+ selections: [
208
+ {
209
+ name: 'endDate',
210
+ kind: 'Scalar',
211
+ required: false
212
+ },
213
+ {
214
+ name: 'startDate',
215
+ kind: 'Scalar',
216
+ required: false
217
+ }
218
+ ]
219
+ };
220
+ };
221
+ function equals$A(existing, incoming) {
222
+ const existing_endDate = existing.endDate;
223
+ const incoming_endDate = incoming.endDate;
224
+ // if at least one of these optionals is defined
225
+ if (existing_endDate !== undefined || incoming_endDate !== undefined) {
226
+ // if one of these is not defined we know the other is defined and therefore
227
+ // not equal
228
+ if (existing_endDate === undefined || incoming_endDate === undefined) {
229
+ return false;
230
+ }
231
+ if (!(existing_endDate === incoming_endDate)) {
232
+ return false;
233
+ }
234
+ }
235
+ const existing_startDate = existing.startDate;
236
+ const incoming_startDate = incoming.startDate;
237
+ // if at least one of these optionals is defined
238
+ if (existing_startDate !== undefined || incoming_startDate !== undefined) {
239
+ // if one of these is not defined we know the other is defined and therefore
240
+ // not equal
241
+ if (existing_startDate === undefined || incoming_startDate === undefined) {
242
+ return false;
243
+ }
244
+ if (!(existing_startDate === incoming_startDate)) {
245
+ return false;
246
+ }
247
+ }
248
+ return true;
249
+ }
250
+
251
+ const VERSION$z = "77130f1cc25bfe67384d6074027e3f3c";
252
+ function validate$11(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
253
+ const v_error = (() => {
254
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
255
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
256
+ }
257
+ const obj_color = obj.color;
258
+ const path_color = path + '.color';
259
+ if (typeof obj_color !== 'string') {
260
+ return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
261
+ }
262
+ if (obj.currencyIsoCode !== undefined) {
263
+ const obj_currencyIsoCode = obj.currencyIsoCode;
264
+ const path_currencyIsoCode = path + '.currencyIsoCode';
265
+ if (typeof obj_currencyIsoCode !== 'string') {
266
+ return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
267
+ }
268
+ }
269
+ const obj_operator = obj.operator;
270
+ const path_operator = path + '.operator';
271
+ if (typeof obj_operator !== 'string') {
272
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
273
+ }
274
+ const obj_primary = obj.primary;
275
+ const path_primary = path + '.primary';
276
+ if (typeof obj_primary !== 'boolean') {
277
+ return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
278
+ }
279
+ const obj_statusName = obj.statusName;
280
+ const path_statusName = path + '.statusName';
281
+ if (typeof obj_statusName !== 'string') {
282
+ return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
283
+ }
284
+ const obj_value = obj.value;
285
+ const path_value = path + '.value';
286
+ if (typeof obj_value !== 'string') {
287
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
288
+ }
289
+ })();
290
+ return v_error === undefined ? null : v_error;
291
+ }
292
+ const select$P = function SemanticGoalStatusConditionOutputRepresentationSelect() {
293
+ return {
294
+ kind: 'Fragment',
295
+ version: VERSION$z,
296
+ private: [],
297
+ selections: [
298
+ {
299
+ name: 'color',
300
+ kind: 'Scalar'
301
+ },
302
+ {
303
+ name: 'currencyIsoCode',
304
+ kind: 'Scalar',
305
+ required: false
306
+ },
307
+ {
308
+ name: 'operator',
309
+ kind: 'Scalar'
310
+ },
311
+ {
312
+ name: 'primary',
313
+ kind: 'Scalar'
314
+ },
315
+ {
316
+ name: 'statusName',
317
+ kind: 'Scalar'
318
+ },
319
+ {
320
+ name: 'value',
321
+ kind: 'Scalar'
322
+ }
323
+ ]
324
+ };
325
+ };
326
+ function equals$z(existing, incoming) {
327
+ const existing_primary = existing.primary;
328
+ const incoming_primary = incoming.primary;
329
+ if (!(existing_primary === incoming_primary)) {
330
+ return false;
331
+ }
332
+ const existing_color = existing.color;
333
+ const incoming_color = incoming.color;
334
+ if (!(existing_color === incoming_color)) {
335
+ return false;
336
+ }
337
+ const existing_currencyIsoCode = existing.currencyIsoCode;
338
+ const incoming_currencyIsoCode = incoming.currencyIsoCode;
339
+ // if at least one of these optionals is defined
340
+ if (existing_currencyIsoCode !== undefined || incoming_currencyIsoCode !== undefined) {
341
+ // if one of these is not defined we know the other is defined and therefore
342
+ // not equal
343
+ if (existing_currencyIsoCode === undefined || incoming_currencyIsoCode === undefined) {
344
+ return false;
345
+ }
346
+ if (!(existing_currencyIsoCode === incoming_currencyIsoCode)) {
347
+ return false;
348
+ }
349
+ }
350
+ const existing_operator = existing.operator;
351
+ const incoming_operator = incoming.operator;
352
+ if (!(existing_operator === incoming_operator)) {
353
+ return false;
354
+ }
355
+ const existing_statusName = existing.statusName;
356
+ const incoming_statusName = incoming.statusName;
357
+ if (!(existing_statusName === incoming_statusName)) {
358
+ return false;
359
+ }
360
+ const existing_value = existing.value;
361
+ const incoming_value = incoming.value;
362
+ if (!(existing_value === incoming_value)) {
363
+ return false;
364
+ }
365
+ return true;
366
+ }
367
+
368
+ const VERSION$y = "d08e45b476a6ff601849693a6dff2619";
369
+ function validate$10(obj, path = 'SemanticGoalOutputRepresentation') {
370
+ const v_error = (() => {
371
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
372
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
373
+ }
374
+ const obj_apiName = obj.apiName;
375
+ const path_apiName = path + '.apiName';
376
+ if (typeof obj_apiName !== 'string') {
377
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
378
+ }
379
+ if (obj.baseModelApiName !== undefined) {
380
+ const obj_baseModelApiName = obj.baseModelApiName;
381
+ const path_baseModelApiName = path + '.baseModelApiName';
382
+ if (typeof obj_baseModelApiName !== 'string') {
383
+ return new TypeError('Expected "string" but received "' + typeof obj_baseModelApiName + '" (at "' + path_baseModelApiName + '")');
384
+ }
385
+ }
386
+ if (obj.cacheKey !== undefined) {
387
+ const obj_cacheKey = obj.cacheKey;
388
+ const path_cacheKey = path + '.cacheKey';
389
+ if (typeof obj_cacheKey !== 'string') {
390
+ return new TypeError('Expected "string" but received "' + typeof obj_cacheKey + '" (at "' + path_cacheKey + '")');
391
+ }
392
+ }
393
+ const obj_createdBy = obj.createdBy;
394
+ const path_createdBy = path + '.createdBy';
395
+ if (typeof obj_createdBy !== 'string') {
396
+ return new TypeError('Expected "string" but received "' + typeof obj_createdBy + '" (at "' + path_createdBy + '")');
397
+ }
398
+ const obj_createdDate = obj.createdDate;
399
+ const path_createdDate = path + '.createdDate';
400
+ if (typeof obj_createdDate !== 'string') {
401
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
402
+ }
403
+ const obj_dateRange = obj.dateRange;
404
+ const path_dateRange = path + '.dateRange';
405
+ const referencepath_dateRangeValidationError = validate$12(obj_dateRange, path_dateRange);
406
+ if (referencepath_dateRangeValidationError !== null) {
407
+ let message = 'Object doesn\'t match SemanticGoalDateRangeOutputRepresentation (at "' + path_dateRange + '")\n';
408
+ message += referencepath_dateRangeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
409
+ return new TypeError(message);
410
+ }
411
+ if (obj.description !== undefined) {
412
+ const obj_description = obj.description;
413
+ const path_description = path + '.description';
414
+ if (typeof obj_description !== 'string') {
415
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
416
+ }
417
+ }
418
+ const obj_forecasting = obj.forecasting;
419
+ const path_forecasting = path + '.forecasting';
420
+ if (typeof obj_forecasting !== 'boolean') {
421
+ return new TypeError('Expected "boolean" but received "' + typeof obj_forecasting + '" (at "' + path_forecasting + '")');
422
+ }
423
+ const obj_id = obj.id;
424
+ const path_id = path + '.id';
425
+ if (typeof obj_id !== 'string') {
426
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
427
+ }
428
+ if (obj.label !== undefined) {
429
+ const obj_label = obj.label;
430
+ const path_label = path + '.label';
431
+ if (typeof obj_label !== 'string') {
432
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
433
+ }
434
+ }
435
+ if (obj.lastModifiedBy !== undefined) {
436
+ const obj_lastModifiedBy = obj.lastModifiedBy;
437
+ const path_lastModifiedBy = path + '.lastModifiedBy';
438
+ if (typeof obj_lastModifiedBy !== 'string') {
439
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedBy + '" (at "' + path_lastModifiedBy + '")');
440
+ }
441
+ }
442
+ if (obj.lastModifiedDate !== undefined) {
443
+ const obj_lastModifiedDate = obj.lastModifiedDate;
444
+ const path_lastModifiedDate = path + '.lastModifiedDate';
445
+ if (typeof obj_lastModifiedDate !== 'string') {
446
+ return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
447
+ }
448
+ }
449
+ const obj_statusConditions = obj.statusConditions;
450
+ const path_statusConditions = path + '.statusConditions';
451
+ if (!ArrayIsArray(obj_statusConditions)) {
452
+ return new TypeError('Expected "array" but received "' + typeof obj_statusConditions + '" (at "' + path_statusConditions + '")');
453
+ }
454
+ for (let i = 0; i < obj_statusConditions.length; i++) {
455
+ const obj_statusConditions_item = obj_statusConditions[i];
456
+ const path_statusConditions_item = path_statusConditions + '[' + i + ']';
457
+ const referencepath_statusConditions_itemValidationError = validate$11(obj_statusConditions_item, path_statusConditions_item);
458
+ if (referencepath_statusConditions_itemValidationError !== null) {
459
+ let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
460
+ message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
461
+ return new TypeError(message);
462
+ }
463
+ }
464
+ const obj_subMetricDefinitionApiName = obj.subMetricDefinitionApiName;
465
+ const path_subMetricDefinitionApiName = path + '.subMetricDefinitionApiName';
466
+ if (typeof obj_subMetricDefinitionApiName !== 'string') {
467
+ return new TypeError('Expected "string" but received "' + typeof obj_subMetricDefinitionApiName + '" (at "' + path_subMetricDefinitionApiName + '")');
468
+ }
469
+ })();
470
+ return v_error === undefined ? null : v_error;
471
+ }
472
+ const RepresentationType$i = 'SemanticGoalOutputRepresentation';
473
+ function keyBuilder$A(luvio, config) {
474
+ return keyPrefix + '::' + RepresentationType$i + ':' + config.name;
475
+ }
476
+ function keyBuilderFromType$c(luvio, object) {
477
+ const keyParams = {
478
+ name: object.id
479
+ };
480
+ return keyBuilder$A(luvio, keyParams);
481
+ }
482
+ function normalize$i(input, existing, path, luvio, store, timestamp) {
483
+ return input;
484
+ }
485
+ const select$O = function SemanticGoalOutputRepresentationSelect() {
486
+ const { selections: SemanticGoalDateRangeOutputRepresentation__selections, opaque: SemanticGoalDateRangeOutputRepresentation__opaque, } = select$Q();
487
+ const { selections: SemanticGoalStatusConditionOutputRepresentation__selections, opaque: SemanticGoalStatusConditionOutputRepresentation__opaque, } = select$P();
488
+ return {
489
+ kind: 'Fragment',
490
+ version: VERSION$y,
491
+ private: [],
492
+ selections: [
493
+ {
494
+ name: 'apiName',
495
+ kind: 'Scalar'
496
+ },
497
+ {
498
+ name: 'baseModelApiName',
499
+ kind: 'Scalar',
500
+ required: false
501
+ },
502
+ {
503
+ name: 'cacheKey',
504
+ kind: 'Scalar',
505
+ required: false
506
+ },
507
+ {
508
+ name: 'createdBy',
509
+ kind: 'Scalar'
510
+ },
511
+ {
512
+ name: 'createdDate',
513
+ kind: 'Scalar'
514
+ },
515
+ {
516
+ name: 'dateRange',
517
+ kind: 'Object',
518
+ selections: SemanticGoalDateRangeOutputRepresentation__selections
519
+ },
520
+ {
521
+ name: 'description',
522
+ kind: 'Scalar',
523
+ required: false
524
+ },
525
+ {
526
+ name: 'forecasting',
527
+ kind: 'Scalar'
528
+ },
529
+ {
530
+ name: 'id',
531
+ kind: 'Scalar'
532
+ },
533
+ {
534
+ name: 'label',
535
+ kind: 'Scalar',
536
+ required: false
537
+ },
538
+ {
539
+ name: 'lastModifiedBy',
540
+ kind: 'Scalar',
541
+ required: false
542
+ },
543
+ {
544
+ name: 'lastModifiedDate',
545
+ kind: 'Scalar',
546
+ required: false
547
+ },
548
+ {
549
+ name: 'statusConditions',
550
+ kind: 'Object',
551
+ plural: true,
552
+ selections: SemanticGoalStatusConditionOutputRepresentation__selections
553
+ },
554
+ {
555
+ name: 'subMetricDefinitionApiName',
556
+ kind: 'Scalar'
557
+ }
558
+ ]
559
+ };
560
+ };
561
+ function equals$y(existing, incoming) {
562
+ const existing_forecasting = existing.forecasting;
563
+ const incoming_forecasting = incoming.forecasting;
564
+ if (!(existing_forecasting === incoming_forecasting)) {
565
+ return false;
566
+ }
567
+ const existing_apiName = existing.apiName;
568
+ const incoming_apiName = incoming.apiName;
569
+ if (!(existing_apiName === incoming_apiName)) {
570
+ return false;
571
+ }
572
+ const existing_baseModelApiName = existing.baseModelApiName;
573
+ const incoming_baseModelApiName = incoming.baseModelApiName;
574
+ // if at least one of these optionals is defined
575
+ if (existing_baseModelApiName !== undefined || incoming_baseModelApiName !== undefined) {
576
+ // if one of these is not defined we know the other is defined and therefore
577
+ // not equal
578
+ if (existing_baseModelApiName === undefined || incoming_baseModelApiName === undefined) {
579
+ return false;
580
+ }
581
+ if (!(existing_baseModelApiName === incoming_baseModelApiName)) {
582
+ return false;
583
+ }
584
+ }
585
+ const existing_cacheKey = existing.cacheKey;
586
+ const incoming_cacheKey = incoming.cacheKey;
587
+ // if at least one of these optionals is defined
588
+ if (existing_cacheKey !== undefined || incoming_cacheKey !== undefined) {
589
+ // if one of these is not defined we know the other is defined and therefore
590
+ // not equal
591
+ if (existing_cacheKey === undefined || incoming_cacheKey === undefined) {
592
+ return false;
593
+ }
594
+ if (!(existing_cacheKey === incoming_cacheKey)) {
595
+ return false;
596
+ }
597
+ }
598
+ const existing_createdBy = existing.createdBy;
599
+ const incoming_createdBy = incoming.createdBy;
600
+ if (!(existing_createdBy === incoming_createdBy)) {
601
+ return false;
602
+ }
603
+ const existing_createdDate = existing.createdDate;
604
+ const incoming_createdDate = incoming.createdDate;
605
+ if (!(existing_createdDate === incoming_createdDate)) {
606
+ return false;
607
+ }
608
+ const existing_description = existing.description;
609
+ const incoming_description = incoming.description;
610
+ // if at least one of these optionals is defined
611
+ if (existing_description !== undefined || incoming_description !== undefined) {
612
+ // if one of these is not defined we know the other is defined and therefore
613
+ // not equal
614
+ if (existing_description === undefined || incoming_description === undefined) {
615
+ return false;
616
+ }
617
+ if (!(existing_description === incoming_description)) {
618
+ return false;
619
+ }
620
+ }
621
+ const existing_id = existing.id;
622
+ const incoming_id = incoming.id;
623
+ if (!(existing_id === incoming_id)) {
624
+ return false;
625
+ }
626
+ const existing_label = existing.label;
627
+ const incoming_label = incoming.label;
628
+ // if at least one of these optionals is defined
629
+ if (existing_label !== undefined || incoming_label !== undefined) {
630
+ // if one of these is not defined we know the other is defined and therefore
631
+ // not equal
632
+ if (existing_label === undefined || incoming_label === undefined) {
633
+ return false;
634
+ }
635
+ if (!(existing_label === incoming_label)) {
636
+ return false;
637
+ }
638
+ }
639
+ const existing_lastModifiedBy = existing.lastModifiedBy;
640
+ const incoming_lastModifiedBy = incoming.lastModifiedBy;
641
+ // if at least one of these optionals is defined
642
+ if (existing_lastModifiedBy !== undefined || incoming_lastModifiedBy !== undefined) {
643
+ // if one of these is not defined we know the other is defined and therefore
644
+ // not equal
645
+ if (existing_lastModifiedBy === undefined || incoming_lastModifiedBy === undefined) {
646
+ return false;
647
+ }
648
+ if (!(existing_lastModifiedBy === incoming_lastModifiedBy)) {
649
+ return false;
650
+ }
651
+ }
652
+ const existing_lastModifiedDate = existing.lastModifiedDate;
653
+ const incoming_lastModifiedDate = incoming.lastModifiedDate;
654
+ // if at least one of these optionals is defined
655
+ if (existing_lastModifiedDate !== undefined || incoming_lastModifiedDate !== undefined) {
656
+ // if one of these is not defined we know the other is defined and therefore
657
+ // not equal
658
+ if (existing_lastModifiedDate === undefined || incoming_lastModifiedDate === undefined) {
659
+ return false;
660
+ }
661
+ if (!(existing_lastModifiedDate === incoming_lastModifiedDate)) {
662
+ return false;
663
+ }
664
+ }
665
+ const existing_subMetricDefinitionApiName = existing.subMetricDefinitionApiName;
666
+ const incoming_subMetricDefinitionApiName = incoming.subMetricDefinitionApiName;
667
+ if (!(existing_subMetricDefinitionApiName === incoming_subMetricDefinitionApiName)) {
668
+ return false;
669
+ }
670
+ const existing_dateRange = existing.dateRange;
671
+ const incoming_dateRange = incoming.dateRange;
672
+ if (!(equals$A(existing_dateRange, incoming_dateRange))) {
673
+ return false;
674
+ }
675
+ const existing_statusConditions = existing.statusConditions;
676
+ const incoming_statusConditions = incoming.statusConditions;
677
+ const equals_statusConditions_items = equalsArray(existing_statusConditions, incoming_statusConditions, (existing_statusConditions_item, incoming_statusConditions_item) => {
678
+ if (!(equals$z(existing_statusConditions_item, incoming_statusConditions_item))) {
679
+ return false;
680
+ }
681
+ });
682
+ if (equals_statusConditions_items === false) {
683
+ return false;
684
+ }
685
+ return true;
686
+ }
687
+ const ingest$i = function SemanticGoalOutputRepresentationIngest(input, path, luvio, store, timestamp) {
688
+ if (process.env.NODE_ENV !== 'production') {
689
+ const validateError = validate$10(input);
690
+ if (validateError !== null) {
691
+ throw validateError;
692
+ }
693
+ }
694
+ const key = keyBuilderFromType$c(luvio, input);
695
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
696
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SemanticAuthoring", VERSION$y, RepresentationType$i, equals$y);
697
+ return createLink(key);
698
+ };
699
+ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
700
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
701
+ const rootKey = keyBuilderFromType$c(luvio, input);
702
+ rootKeySet.set(rootKey, {
703
+ namespace: keyPrefix,
704
+ representationName: RepresentationType$i,
705
+ mergeable: false
706
+ });
707
+ }
708
+
709
+ function select$N(luvio, params) {
710
+ return select$O();
711
+ }
712
+ function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
713
+ getTypeCacheKeys$i(storeKeyMap, luvio, response);
714
+ }
715
+ function ingestSuccess$f(luvio, resourceParams, response) {
716
+ const { body } = response;
717
+ const key = keyBuilderFromType$c(luvio, body);
718
+ luvio.storeIngest(key, ingest$i, body);
719
+ const snapshot = luvio.storeLookup({
720
+ recordId: key,
721
+ node: select$N(),
722
+ variables: {},
723
+ });
724
+ if (process.env.NODE_ENV !== 'production') {
725
+ if (snapshot.state !== 'Fulfilled') {
726
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
727
+ }
728
+ }
729
+ deepFreeze(snapshot.data);
730
+ return snapshot;
731
+ }
732
+ function createResourceRequest$h(config) {
733
+ const headers = {};
734
+ return {
735
+ baseUri: '/services/data/v63.0',
736
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/goals',
737
+ method: 'post',
738
+ body: config.body,
739
+ urlParams: config.urlParams,
740
+ queryParams: {},
741
+ headers,
742
+ priority: 'normal',
743
+ };
744
+ }
745
+
746
+ const adapterName$h = 'createSemanticGoal';
747
+ const createSemanticGoal_ConfigPropertyMetadata = [
748
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
749
+ generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
750
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
751
+ generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
752
+ generateParamConfigMetadata('dateRange', false, 2 /* Body */, 4 /* Unsupported */),
753
+ generateParamConfigMetadata('forecasting', false, 2 /* Body */, 1 /* Boolean */),
754
+ generateParamConfigMetadata('statusConditions', false, 2 /* Body */, 4 /* Unsupported */, true),
755
+ generateParamConfigMetadata('subMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
756
+ ];
757
+ const createSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, createSemanticGoal_ConfigPropertyMetadata);
758
+ const createResourceParams$h = /*#__PURE__*/ createResourceParams$i(createSemanticGoal_ConfigPropertyMetadata);
759
+ function typeCheckConfig$h(untrustedConfig) {
760
+ const config = {};
761
+ typeCheckConfig$i(untrustedConfig, config, createSemanticGoal_ConfigPropertyMetadata);
762
+ const untrustedConfig_dateRange = untrustedConfig.dateRange;
763
+ const referenceSemanticGoalDateRangeInputRepresentationValidationError = validate$14(untrustedConfig_dateRange);
764
+ if (referenceSemanticGoalDateRangeInputRepresentationValidationError === null) {
765
+ config.dateRange = untrustedConfig_dateRange;
766
+ }
767
+ const untrustedConfig_statusConditions = untrustedConfig.statusConditions;
768
+ if (ArrayIsArray$1(untrustedConfig_statusConditions)) {
769
+ const untrustedConfig_statusConditions_array = [];
770
+ for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
771
+ const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
772
+ const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$13(untrustedConfig_statusConditions_item);
773
+ if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
774
+ untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
775
+ }
776
+ }
777
+ config.statusConditions = untrustedConfig_statusConditions_array;
778
+ }
779
+ return config;
780
+ }
781
+ function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
782
+ if (!untrustedIsObject(untrustedConfig)) {
783
+ return null;
784
+ }
785
+ if (process.env.NODE_ENV !== 'production') {
786
+ validateConfig(untrustedConfig, configPropertyNames);
787
+ }
788
+ const config = typeCheckConfig$h(untrustedConfig);
789
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
790
+ return null;
791
+ }
792
+ return config;
793
+ }
794
+ function buildNetworkSnapshot$h(luvio, config, options) {
795
+ const resourceParams = createResourceParams$h(config);
796
+ const request = createResourceRequest$h(resourceParams);
797
+ return luvio.dispatchResourceRequest(request, options)
798
+ .then((response) => {
799
+ return luvio.handleSuccessResponse(() => {
800
+ const snapshot = ingestSuccess$f(luvio, resourceParams, response);
801
+ return luvio.storeBroadcast().then(() => snapshot);
802
+ }, () => {
803
+ const cache = new StoreKeyMap();
804
+ getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
805
+ return cache;
806
+ });
807
+ }, (response) => {
808
+ deepFreeze(response);
809
+ throw response;
810
+ });
811
+ }
812
+ const createSemanticGoalAdapterFactory = (luvio) => {
813
+ return function createSemanticGoal(untrustedConfig) {
814
+ const config = validateAdapterConfig$h(untrustedConfig, createSemanticGoal_ConfigPropertyNames);
815
+ // Invalid or incomplete config
816
+ if (config === null) {
817
+ throw new Error('Invalid config for "createSemanticGoal"');
818
+ }
819
+ return buildNetworkSnapshot$h(luvio, config);
820
+ };
821
+ };
822
+
823
+ function validate$$(obj, path = 'SemanticBaseModelInputRepresentation') {
106
824
  const v_error = (() => {
107
825
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
108
826
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -118,7 +836,7 @@ function validate$11(obj, path = 'SemanticBaseModelInputRepresentation') {
118
836
  return v_error === undefined ? null : v_error;
119
837
  }
120
838
 
121
- function validate$10(obj, path = 'SemanticFilterInputRepresentation') {
839
+ function validate$_(obj, path = 'SemanticFilterInputRepresentation') {
122
840
  const v_error = (() => {
123
841
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
124
842
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -148,7 +866,7 @@ function validate$10(obj, path = 'SemanticFilterInputRepresentation') {
148
866
  return v_error === undefined ? null : v_error;
149
867
  }
150
868
 
151
- function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
869
+ function validate$Z(obj, path = 'SemanticCalculatedDimensionInputRepresentation') {
152
870
  const v_error = (() => {
153
871
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
154
872
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -211,7 +929,7 @@ function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
211
929
  for (let i = 0; i < obj_filters.length; i++) {
212
930
  const obj_filters_item = obj_filters[i];
213
931
  const path_filters_item = path_filters + '[' + i + ']';
214
- const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
932
+ const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
215
933
  if (referencepath_filters_itemValidationError !== null) {
216
934
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
217
935
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -258,7 +976,7 @@ function validate$$(obj, path = 'SemanticCalculatedDimensionInputRepresentation'
258
976
  return v_error === undefined ? null : v_error;
259
977
  }
260
978
 
261
- function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
979
+ function validate$Y(obj, path = 'SemanticCalculatedMeasurementInputRepresentation') {
262
980
  const v_error = (() => {
263
981
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
264
982
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -335,7 +1053,7 @@ function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
335
1053
  for (let i = 0; i < obj_filters.length; i++) {
336
1054
  const obj_filters_item = obj_filters[i];
337
1055
  const path_filters_item = path_filters + '[' + i + ']';
338
- const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
1056
+ const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
339
1057
  if (referencepath_filters_itemValidationError !== null) {
340
1058
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
341
1059
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -403,7 +1121,7 @@ function validate$_(obj, path = 'SemanticCalculatedMeasurementInputRepresentatio
403
1121
  return v_error === undefined ? null : v_error;
404
1122
  }
405
1123
 
406
- function validate$Z(obj, path = 'SemanticDimensionInputRepresentation') {
1124
+ function validate$X(obj, path = 'SemanticDimensionInputRepresentation') {
407
1125
  const v_error = (() => {
408
1126
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
409
1127
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -482,7 +1200,7 @@ function validate$Z(obj, path = 'SemanticDimensionInputRepresentation') {
482
1200
  return v_error === undefined ? null : v_error;
483
1201
  }
484
1202
 
485
- function validate$Y(obj, path = 'SemanticMeasurementInputRepresentation') {
1203
+ function validate$W(obj, path = 'SemanticMeasurementInputRepresentation') {
486
1204
  const v_error = (() => {
487
1205
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
488
1206
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -589,7 +1307,7 @@ function validate$Y(obj, path = 'SemanticMeasurementInputRepresentation') {
589
1307
  return v_error === undefined ? null : v_error;
590
1308
  }
591
1309
 
592
- function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
1310
+ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
593
1311
  const v_error = (() => {
594
1312
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
595
1313
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -638,7 +1356,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
638
1356
  for (let i = 0; i < obj_filters.length; i++) {
639
1357
  const obj_filters_item = obj_filters[i];
640
1358
  const path_filters_item = path_filters + '[' + i + ']';
641
- const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
1359
+ const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
642
1360
  if (referencepath_filters_itemValidationError !== null) {
643
1361
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
644
1362
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -669,7 +1387,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
669
1387
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
670
1388
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
671
1389
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
672
- const referencepath_semanticDimensions_itemValidationError = validate$Z(obj_semanticDimensions_item, path_semanticDimensions_item);
1390
+ const referencepath_semanticDimensions_itemValidationError = validate$X(obj_semanticDimensions_item, path_semanticDimensions_item);
673
1391
  if (referencepath_semanticDimensions_itemValidationError !== null) {
674
1392
  let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimensions_item + '")\n';
675
1393
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -686,7 +1404,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
686
1404
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
687
1405
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
688
1406
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
689
- const referencepath_semanticMeasurements_itemValidationError = validate$Y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
1407
+ const referencepath_semanticMeasurements_itemValidationError = validate$W(obj_semanticMeasurements_item, path_semanticMeasurements_item);
690
1408
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
691
1409
  let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
692
1410
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -705,7 +1423,7 @@ function validate$X(obj, path = 'SemanticDataObjectInputRepresentation') {
705
1423
  return v_error === undefined ? null : v_error;
706
1424
  }
707
1425
 
708
- function validate$W(obj, path = 'BinDimensionConfigurationInputRepresentation') {
1426
+ function validate$U(obj, path = 'BinDimensionConfigurationInputRepresentation') {
709
1427
  const v_error = (() => {
710
1428
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
711
1429
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -717,7 +1435,7 @@ function validate$W(obj, path = 'BinDimensionConfigurationInputRepresentation')
717
1435
  return v_error === undefined ? null : v_error;
718
1436
  }
719
1437
 
720
- function validate$V(obj, path = 'GroupDimensionGroupInputRepresentation') {
1438
+ function validate$T(obj, path = 'GroupDimensionGroupInputRepresentation') {
721
1439
  const v_error = (() => {
722
1440
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
723
1441
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -747,7 +1465,7 @@ function validate$V(obj, path = 'GroupDimensionGroupInputRepresentation') {
747
1465
  return v_error === undefined ? null : v_error;
748
1466
  }
749
1467
 
750
- function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
1468
+ function validate$S(obj, path = 'GroupDimensionConfigurationInputRepresentation') {
751
1469
  const v_error = (() => {
752
1470
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
753
1471
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -761,7 +1479,7 @@ function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation'
761
1479
  for (let i = 0; i < obj_groups.length; i++) {
762
1480
  const obj_groups_item = obj_groups[i];
763
1481
  const path_groups_item = path_groups + '[' + i + ']';
764
- const referencepath_groups_itemValidationError = validate$V(obj_groups_item, path_groups_item);
1482
+ const referencepath_groups_itemValidationError = validate$T(obj_groups_item, path_groups_item);
765
1483
  if (referencepath_groups_itemValidationError !== null) {
766
1484
  let message = 'Object doesn\'t match GroupDimensionGroupInputRepresentation (at "' + path_groups_item + '")\n';
767
1485
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -780,7 +1498,7 @@ function validate$U(obj, path = 'GroupDimensionConfigurationInputRepresentation'
780
1498
  return v_error === undefined ? null : v_error;
781
1499
  }
782
1500
 
783
- function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
1501
+ function validate$R(obj, path = 'SemanticGroupingConfigurationInputRepresentation') {
784
1502
  const v_error = (() => {
785
1503
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
786
1504
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -788,7 +1506,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
788
1506
  if (obj.binDimension !== undefined) {
789
1507
  const obj_binDimension = obj.binDimension;
790
1508
  const path_binDimension = path + '.binDimension';
791
- const referencepath_binDimensionValidationError = validate$W(obj_binDimension, path_binDimension);
1509
+ const referencepath_binDimensionValidationError = validate$U(obj_binDimension, path_binDimension);
792
1510
  if (referencepath_binDimensionValidationError !== null) {
793
1511
  let message = 'Object doesn\'t match BinDimensionConfigurationInputRepresentation (at "' + path_binDimension + '")\n';
794
1512
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -798,7 +1516,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
798
1516
  if (obj.groupDimension !== undefined) {
799
1517
  const obj_groupDimension = obj.groupDimension;
800
1518
  const path_groupDimension = path + '.groupDimension';
801
- const referencepath_groupDimensionValidationError = validate$U(obj_groupDimension, path_groupDimension);
1519
+ const referencepath_groupDimensionValidationError = validate$S(obj_groupDimension, path_groupDimension);
802
1520
  if (referencepath_groupDimensionValidationError !== null) {
803
1521
  let message = 'Object doesn\'t match GroupDimensionConfigurationInputRepresentation (at "' + path_groupDimension + '")\n';
804
1522
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -809,7 +1527,7 @@ function validate$T(obj, path = 'SemanticGroupingConfigurationInputRepresentatio
809
1527
  return v_error === undefined ? null : v_error;
810
1528
  }
811
1529
 
812
- function validate$S(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
1530
+ function validate$Q(obj, path = 'SemanticTableFieldReferenceInputRepresentation') {
813
1531
  const v_error = (() => {
814
1532
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
815
1533
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -832,7 +1550,7 @@ function validate$S(obj, path = 'SemanticTableFieldReferenceInputRepresentation'
832
1550
  return v_error === undefined ? null : v_error;
833
1551
  }
834
1552
 
835
- function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
1553
+ function validate$P(obj, path = 'SemanticFieldReferenceInputRepresentation') {
836
1554
  const v_error = (() => {
837
1555
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
838
1556
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -847,7 +1565,7 @@ function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
847
1565
  if (obj.tableFieldReference !== undefined) {
848
1566
  const obj_tableFieldReference = obj.tableFieldReference;
849
1567
  const path_tableFieldReference = path + '.tableFieldReference';
850
- const referencepath_tableFieldReferenceValidationError = validate$S(obj_tableFieldReference, path_tableFieldReference);
1568
+ const referencepath_tableFieldReferenceValidationError = validate$Q(obj_tableFieldReference, path_tableFieldReference);
851
1569
  if (referencepath_tableFieldReferenceValidationError !== null) {
852
1570
  let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_tableFieldReference + '")\n';
853
1571
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -858,7 +1576,7 @@ function validate$R(obj, path = 'SemanticFieldReferenceInputRepresentation') {
858
1576
  return v_error === undefined ? null : v_error;
859
1577
  }
860
1578
 
861
- function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
1579
+ function validate$O(obj, path = 'SemanticGroupingInputRepresentation') {
862
1580
  const v_error = (() => {
863
1581
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
864
1582
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -873,7 +1591,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
873
1591
  if (obj.configuration !== undefined) {
874
1592
  const obj_configuration = obj.configuration;
875
1593
  const path_configuration = path + '.configuration';
876
- const referencepath_configurationValidationError = validate$T(obj_configuration, path_configuration);
1594
+ const referencepath_configurationValidationError = validate$R(obj_configuration, path_configuration);
877
1595
  if (referencepath_configurationValidationError !== null) {
878
1596
  let message = 'Object doesn\'t match SemanticGroupingConfigurationInputRepresentation (at "' + path_configuration + '")\n';
879
1597
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -890,7 +1608,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
890
1608
  if (obj.fieldReference !== undefined) {
891
1609
  const obj_fieldReference = obj.fieldReference;
892
1610
  const path_fieldReference = path + '.fieldReference';
893
- const referencepath_fieldReferenceValidationError = validate$R(obj_fieldReference, path_fieldReference);
1611
+ const referencepath_fieldReferenceValidationError = validate$P(obj_fieldReference, path_fieldReference);
894
1612
  if (referencepath_fieldReferenceValidationError !== null) {
895
1613
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_fieldReference + '")\n';
896
1614
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -915,7 +1633,7 @@ function validate$Q(obj, path = 'SemanticGroupingInputRepresentation') {
915
1633
  return v_error === undefined ? null : v_error;
916
1634
  }
917
1635
 
918
- function validate$P(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
1636
+ function validate$N(obj, path = 'SemanticRelationshipCriteriaInputRepresentation') {
919
1637
  const v_error = (() => {
920
1638
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
921
1639
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -959,7 +1677,7 @@ function validate$P(obj, path = 'SemanticRelationshipCriteriaInputRepresentation
959
1677
  return v_error === undefined ? null : v_error;
960
1678
  }
961
1679
 
962
- function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
1680
+ function validate$M(obj, path = 'SemanticRelationshipInputRepresentation') {
963
1681
  const v_error = (() => {
964
1682
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
965
1683
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -987,7 +1705,7 @@ function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
987
1705
  for (let i = 0; i < obj_criteria.length; i++) {
988
1706
  const obj_criteria_item = obj_criteria[i];
989
1707
  const path_criteria_item = path_criteria + '[' + i + ']';
990
- const referencepath_criteria_itemValidationError = validate$P(obj_criteria_item, path_criteria_item);
1708
+ const referencepath_criteria_itemValidationError = validate$N(obj_criteria_item, path_criteria_item);
991
1709
  if (referencepath_criteria_itemValidationError !== null) {
992
1710
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaInputRepresentation (at "' + path_criteria_item + '")\n';
993
1711
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1048,7 +1766,7 @@ function validate$O(obj, path = 'SemanticRelationshipInputRepresentation') {
1048
1766
  return v_error === undefined ? null : v_error;
1049
1767
  }
1050
1768
 
1051
- function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
1769
+ function validate$L(obj, path = 'SemanticMappedFieldInputRepresentation') {
1052
1770
  const v_error = (() => {
1053
1771
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1054
1772
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1076,7 +1794,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
1076
1794
  for (let i = 0; i < obj_fields.length; i++) {
1077
1795
  const obj_fields_item = obj_fields[i];
1078
1796
  const path_fields_item = path_fields + '[' + i + ']';
1079
- const referencepath_fields_itemValidationError = validate$S(obj_fields_item, path_fields_item);
1797
+ const referencepath_fields_itemValidationError = validate$Q(obj_fields_item, path_fields_item);
1080
1798
  if (referencepath_fields_itemValidationError !== null) {
1081
1799
  let message = 'Object doesn\'t match SemanticTableFieldReferenceInputRepresentation (at "' + path_fields_item + '")\n';
1082
1800
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1101,7 +1819,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
1101
1819
  if (obj.semanticDimension !== undefined) {
1102
1820
  const obj_semanticDimension = obj.semanticDimension;
1103
1821
  const path_semanticDimension = path + '.semanticDimension';
1104
- const referencepath_semanticDimensionValidationError = validate$Z(obj_semanticDimension, path_semanticDimension);
1822
+ const referencepath_semanticDimensionValidationError = validate$X(obj_semanticDimension, path_semanticDimension);
1105
1823
  if (referencepath_semanticDimensionValidationError !== null) {
1106
1824
  let message = 'Object doesn\'t match SemanticDimensionInputRepresentation (at "' + path_semanticDimension + '")\n';
1107
1825
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1111,7 +1829,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
1111
1829
  if (obj.semanticMeasurement !== undefined) {
1112
1830
  const obj_semanticMeasurement = obj.semanticMeasurement;
1113
1831
  const path_semanticMeasurement = path + '.semanticMeasurement';
1114
- const referencepath_semanticMeasurementValidationError = validate$Y(obj_semanticMeasurement, path_semanticMeasurement);
1832
+ const referencepath_semanticMeasurementValidationError = validate$W(obj_semanticMeasurement, path_semanticMeasurement);
1115
1833
  if (referencepath_semanticMeasurementValidationError !== null) {
1116
1834
  let message = 'Object doesn\'t match SemanticMeasurementInputRepresentation (at "' + path_semanticMeasurement + '")\n';
1117
1835
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1122,7 +1840,7 @@ function validate$N(obj, path = 'SemanticMappedFieldInputRepresentation') {
1122
1840
  return v_error === undefined ? null : v_error;
1123
1841
  }
1124
1842
 
1125
- function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
1843
+ function validate$K(obj, path = 'SemanticUnionInputRepresentation') {
1126
1844
  const v_error = (() => {
1127
1845
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1128
1846
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1157,7 +1875,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
1157
1875
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
1158
1876
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
1159
1877
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
1160
- const referencepath_semanticDataObjects_itemValidationError = validate$X(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1878
+ const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1161
1879
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
1162
1880
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
1163
1881
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1174,7 +1892,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
1174
1892
  for (let i = 0; i < obj_semanticMappedFields.length; i++) {
1175
1893
  const obj_semanticMappedFields_item = obj_semanticMappedFields[i];
1176
1894
  const path_semanticMappedFields_item = path_semanticMappedFields + '[' + i + ']';
1177
- const referencepath_semanticMappedFields_itemValidationError = validate$N(obj_semanticMappedFields_item, path_semanticMappedFields_item);
1895
+ const referencepath_semanticMappedFields_itemValidationError = validate$L(obj_semanticMappedFields_item, path_semanticMappedFields_item);
1178
1896
  if (referencepath_semanticMappedFields_itemValidationError !== null) {
1179
1897
  let message = 'Object doesn\'t match SemanticMappedFieldInputRepresentation (at "' + path_semanticMappedFields_item + '")\n';
1180
1898
  message += referencepath_semanticMappedFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1186,7 +1904,7 @@ function validate$M(obj, path = 'SemanticUnionInputRepresentation') {
1186
1904
  return v_error === undefined ? null : v_error;
1187
1905
  }
1188
1906
 
1189
- function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
1907
+ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1190
1908
  const v_error = (() => {
1191
1909
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1192
1910
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1228,7 +1946,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
1228
1946
  for (let i = 0; i < obj_filters.length; i++) {
1229
1947
  const obj_filters_item = obj_filters[i];
1230
1948
  const path_filters_item = path_filters + '[' + i + ']';
1231
- const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
1949
+ const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
1232
1950
  if (referencepath_filters_itemValidationError !== null) {
1233
1951
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1234
1952
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1252,7 +1970,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
1252
1970
  for (let i = 0; i < obj_semanticDataObjects.length; i++) {
1253
1971
  const obj_semanticDataObjects_item = obj_semanticDataObjects[i];
1254
1972
  const path_semanticDataObjects_item = path_semanticDataObjects + '[' + i + ']';
1255
- const referencepath_semanticDataObjects_itemValidationError = validate$X(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1973
+ const referencepath_semanticDataObjects_itemValidationError = validate$V(obj_semanticDataObjects_item, path_semanticDataObjects_item);
1256
1974
  if (referencepath_semanticDataObjects_itemValidationError !== null) {
1257
1975
  let message = 'Object doesn\'t match SemanticDataObjectInputRepresentation (at "' + path_semanticDataObjects_item + '")\n';
1258
1976
  message += referencepath_semanticDataObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1269,7 +1987,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
1269
1987
  for (let i = 0; i < obj_semanticRelationships.length; i++) {
1270
1988
  const obj_semanticRelationships_item = obj_semanticRelationships[i];
1271
1989
  const path_semanticRelationships_item = path_semanticRelationships + '[' + i + ']';
1272
- const referencepath_semanticRelationships_itemValidationError = validate$O(obj_semanticRelationships_item, path_semanticRelationships_item);
1990
+ const referencepath_semanticRelationships_itemValidationError = validate$M(obj_semanticRelationships_item, path_semanticRelationships_item);
1273
1991
  if (referencepath_semanticRelationships_itemValidationError !== null) {
1274
1992
  let message = 'Object doesn\'t match SemanticRelationshipInputRepresentation (at "' + path_semanticRelationships_item + '")\n';
1275
1993
  message += referencepath_semanticRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1286,7 +2004,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
1286
2004
  for (let i = 0; i < obj_semanticUnions.length; i++) {
1287
2005
  const obj_semanticUnions_item = obj_semanticUnions[i];
1288
2006
  const path_semanticUnions_item = path_semanticUnions + '[' + i + ']';
1289
- const referencepath_semanticUnions_itemValidationError = validate$M(obj_semanticUnions_item, path_semanticUnions_item);
2007
+ const referencepath_semanticUnions_itemValidationError = validate$K(obj_semanticUnions_item, path_semanticUnions_item);
1290
2008
  if (referencepath_semanticUnions_itemValidationError !== null) {
1291
2009
  let message = 'Object doesn\'t match SemanticUnionInputRepresentation (at "' + path_semanticUnions_item + '")\n';
1292
2010
  message += referencepath_semanticUnions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1298,7 +2016,7 @@ function validate$L(obj, path = 'SemanticLogicalViewInputRepresentation') {
1298
2016
  return v_error === undefined ? null : v_error;
1299
2017
  }
1300
2018
 
1301
- function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
2019
+ function validate$I(obj, path = 'SemanticIdentifyingDimensionInputRepresentation') {
1302
2020
  const v_error = (() => {
1303
2021
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1304
2022
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1306,7 +2024,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1306
2024
  if (obj.identifierDimensionReference !== undefined) {
1307
2025
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
1308
2026
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
1309
- const referencepath_identifierDimensionReferenceValidationError = validate$R(obj_identifierDimensionReference, path_identifierDimensionReference);
2027
+ const referencepath_identifierDimensionReferenceValidationError = validate$P(obj_identifierDimensionReference, path_identifierDimensionReference);
1310
2028
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
1311
2029
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_identifierDimensionReference + '")\n';
1312
2030
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1316,7 +2034,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1316
2034
  if (obj.namingDimensionReference !== undefined) {
1317
2035
  const obj_namingDimensionReference = obj.namingDimensionReference;
1318
2036
  const path_namingDimensionReference = path + '.namingDimensionReference';
1319
- const referencepath_namingDimensionReferenceValidationError = validate$R(obj_namingDimensionReference, path_namingDimensionReference);
2037
+ const referencepath_namingDimensionReferenceValidationError = validate$P(obj_namingDimensionReference, path_namingDimensionReference);
1320
2038
  if (referencepath_namingDimensionReferenceValidationError !== null) {
1321
2039
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_namingDimensionReference + '")\n';
1322
2040
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1327,7 +2045,7 @@ function validate$K(obj, path = 'SemanticIdentifyingDimensionInputRepresentation
1327
2045
  return v_error === undefined ? null : v_error;
1328
2046
  }
1329
2047
 
1330
- function validate$J(obj, path = 'SemanticInsightTypeInputRepresentation') {
2048
+ function validate$H(obj, path = 'SemanticInsightTypeInputRepresentation') {
1331
2049
  const v_error = (() => {
1332
2050
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1333
2051
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1350,7 +2068,7 @@ function validate$J(obj, path = 'SemanticInsightTypeInputRepresentation') {
1350
2068
  return v_error === undefined ? null : v_error;
1351
2069
  }
1352
2070
 
1353
- function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
2071
+ function validate$G(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1354
2072
  const v_error = (() => {
1355
2073
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1356
2074
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1358,7 +2076,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1358
2076
  if (obj.identifyingDimension !== undefined) {
1359
2077
  const obj_identifyingDimension = obj.identifyingDimension;
1360
2078
  const path_identifyingDimension = path + '.identifyingDimension';
1361
- const referencepath_identifyingDimensionValidationError = validate$K(obj_identifyingDimension, path_identifyingDimension);
2079
+ const referencepath_identifyingDimensionValidationError = validate$I(obj_identifyingDimension, path_identifyingDimension);
1362
2080
  if (referencepath_identifyingDimensionValidationError !== null) {
1363
2081
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionInputRepresentation (at "' + path_identifyingDimension + '")\n';
1364
2082
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1374,7 +2092,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1374
2092
  for (let i = 0; i < obj_insightTypes.length; i++) {
1375
2093
  const obj_insightTypes_item = obj_insightTypes[i];
1376
2094
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
1377
- const referencepath_insightTypes_itemValidationError = validate$J(obj_insightTypes_item, path_insightTypes_item);
2095
+ const referencepath_insightTypes_itemValidationError = validate$H(obj_insightTypes_item, path_insightTypes_item);
1378
2096
  if (referencepath_insightTypes_itemValidationError !== null) {
1379
2097
  let message = 'Object doesn\'t match SemanticInsightTypeInputRepresentation (at "' + path_insightTypes_item + '")\n';
1380
2098
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1391,7 +2109,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1391
2109
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
1392
2110
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
1393
2111
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
1394
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$R(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
2112
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$P(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
1395
2113
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
1396
2114
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
1397
2115
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1424,7 +2142,7 @@ function validate$I(obj, path = 'SemanticInsightsSettingsInputRepresentation') {
1424
2142
  return v_error === undefined ? null : v_error;
1425
2143
  }
1426
2144
 
1427
- function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
2145
+ function validate$F(obj, path = 'SemanticMetricInputRepresentation') {
1428
2146
  const v_error = (() => {
1429
2147
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1430
2148
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1438,7 +2156,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
1438
2156
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
1439
2157
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
1440
2158
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
1441
- const referencepath_additionalDimensions_itemValidationError = validate$R(obj_additionalDimensions_item, path_additionalDimensions_item);
2159
+ const referencepath_additionalDimensions_itemValidationError = validate$P(obj_additionalDimensions_item, path_additionalDimensions_item);
1442
2160
  if (referencepath_additionalDimensions_itemValidationError !== null) {
1443
2161
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_additionalDimensions_item + '")\n';
1444
2162
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1483,7 +2201,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
1483
2201
  for (let i = 0; i < obj_filters.length; i++) {
1484
2202
  const obj_filters_item = obj_filters[i];
1485
2203
  const path_filters_item = path_filters + '[' + i + ']';
1486
- const referencepath_filters_itemValidationError = validate$10(obj_filters_item, path_filters_item);
2204
+ const referencepath_filters_itemValidationError = validate$_(obj_filters_item, path_filters_item);
1487
2205
  if (referencepath_filters_itemValidationError !== null) {
1488
2206
  let message = 'Object doesn\'t match SemanticFilterInputRepresentation (at "' + path_filters_item + '")\n';
1489
2207
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1494,7 +2212,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
1494
2212
  if (obj.insightsSettings !== undefined) {
1495
2213
  const obj_insightsSettings = obj.insightsSettings;
1496
2214
  const path_insightsSettings = path + '.insightsSettings';
1497
- const referencepath_insightsSettingsValidationError = validate$I(obj_insightsSettings, path_insightsSettings);
2215
+ const referencepath_insightsSettingsValidationError = validate$G(obj_insightsSettings, path_insightsSettings);
1498
2216
  if (referencepath_insightsSettingsValidationError !== null) {
1499
2217
  let message = 'Object doesn\'t match SemanticInsightsSettingsInputRepresentation (at "' + path_insightsSettings + '")\n';
1500
2218
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1518,7 +2236,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
1518
2236
  if (obj.measurementReference !== undefined) {
1519
2237
  const obj_measurementReference = obj.measurementReference;
1520
2238
  const path_measurementReference = path + '.measurementReference';
1521
- const referencepath_measurementReferenceValidationError = validate$R(obj_measurementReference, path_measurementReference);
2239
+ const referencepath_measurementReferenceValidationError = validate$P(obj_measurementReference, path_measurementReference);
1522
2240
  if (referencepath_measurementReferenceValidationError !== null) {
1523
2241
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_measurementReference + '")\n';
1524
2242
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1528,7 +2246,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
1528
2246
  if (obj.timeDimensionReference !== undefined) {
1529
2247
  const obj_timeDimensionReference = obj.timeDimensionReference;
1530
2248
  const path_timeDimensionReference = path + '.timeDimensionReference';
1531
- const referencepath_timeDimensionReferenceValidationError = validate$R(obj_timeDimensionReference, path_timeDimensionReference);
2249
+ const referencepath_timeDimensionReferenceValidationError = validate$P(obj_timeDimensionReference, path_timeDimensionReference);
1532
2250
  if (referencepath_timeDimensionReferenceValidationError !== null) {
1533
2251
  let message = 'Object doesn\'t match SemanticFieldReferenceInputRepresentation (at "' + path_timeDimensionReference + '")\n';
1534
2252
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1553,7 +2271,7 @@ function validate$H(obj, path = 'SemanticMetricInputRepresentation') {
1553
2271
  return v_error === undefined ? null : v_error;
1554
2272
  }
1555
2273
 
1556
- function validate$G(obj, path = 'SemanticParameterInputRepresentation') {
2274
+ function validate$E(obj, path = 'SemanticParameterInputRepresentation') {
1557
2275
  const v_error = (() => {
1558
2276
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1559
2277
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1654,7 +2372,7 @@ function validate$G(obj, path = 'SemanticParameterInputRepresentation') {
1654
2372
  }
1655
2373
 
1656
2374
  const VERSION$x = "3a32d382e7a2268096278aa8e5c6761a";
1657
- function validate$F(obj, path = 'SemanticBaseModelOutputRepresentation') {
2375
+ function validate$D(obj, path = 'SemanticBaseModelOutputRepresentation') {
1658
2376
  const v_error = (() => {
1659
2377
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1660
2378
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1674,7 +2392,7 @@ function validate$F(obj, path = 'SemanticBaseModelOutputRepresentation') {
1674
2392
  })();
1675
2393
  return v_error === undefined ? null : v_error;
1676
2394
  }
1677
- const select$L = function SemanticBaseModelOutputRepresentationSelect() {
2395
+ const select$M = function SemanticBaseModelOutputRepresentationSelect() {
1678
2396
  return {
1679
2397
  kind: 'Fragment',
1680
2398
  version: VERSION$x,
@@ -1715,7 +2433,7 @@ function equals$x(existing, incoming) {
1715
2433
  }
1716
2434
 
1717
2435
  const VERSION$w = "9b5a0e85af6a943c95625e2dfe81ab96";
1718
- function validate$E(obj, path = 'SemanticFilterOutputRepresentation') {
2436
+ function validate$C(obj, path = 'SemanticFilterOutputRepresentation') {
1719
2437
  const v_error = (() => {
1720
2438
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1721
2439
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1744,7 +2462,7 @@ function validate$E(obj, path = 'SemanticFilterOutputRepresentation') {
1744
2462
  })();
1745
2463
  return v_error === undefined ? null : v_error;
1746
2464
  }
1747
- const select$K = function SemanticFilterOutputRepresentationSelect() {
2465
+ const select$L = function SemanticFilterOutputRepresentationSelect() {
1748
2466
  return {
1749
2467
  kind: 'Fragment',
1750
2468
  version: VERSION$w,
@@ -1812,7 +2530,7 @@ function equals$w(existing, incoming) {
1812
2530
  }
1813
2531
 
1814
2532
  const VERSION$v = "8137018d7bcc1592081ebddf74ddd42a";
1815
- function validate$D(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
2533
+ function validate$B(obj, path = 'SemanticCalculatedDimensionOutputRepresentation') {
1816
2534
  const v_error = (() => {
1817
2535
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1818
2536
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1897,7 +2615,7 @@ function validate$D(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1897
2615
  for (let i = 0; i < obj_filters.length; i++) {
1898
2616
  const obj_filters_item = obj_filters[i];
1899
2617
  const path_filters_item = path_filters + '[' + i + ']';
1900
- const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
2618
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
1901
2619
  if (referencepath_filters_itemValidationError !== null) {
1902
2620
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
1903
2621
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1970,20 +2688,20 @@ function validate$D(obj, path = 'SemanticCalculatedDimensionOutputRepresentation
1970
2688
  return v_error === undefined ? null : v_error;
1971
2689
  }
1972
2690
  const RepresentationType$h = 'SemanticCalculatedDimensionOutputRepresentation';
1973
- function keyBuilder$x(luvio, config) {
2691
+ function keyBuilder$z(luvio, config) {
1974
2692
  return keyPrefix + '::' + RepresentationType$h + ':' + config.name;
1975
2693
  }
1976
2694
  function keyBuilderFromType$b(luvio, object) {
1977
2695
  const keyParams = {
1978
2696
  name: object.id
1979
2697
  };
1980
- return keyBuilder$x(luvio, keyParams);
2698
+ return keyBuilder$z(luvio, keyParams);
1981
2699
  }
1982
2700
  function normalize$h(input, existing, path, luvio, store, timestamp) {
1983
2701
  return input;
1984
2702
  }
1985
- const select$J = function SemanticCalculatedDimensionOutputRepresentationSelect() {
1986
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
2703
+ const select$K = function SemanticCalculatedDimensionOutputRepresentationSelect() {
2704
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
1987
2705
  return {
1988
2706
  kind: 'Fragment',
1989
2707
  version: VERSION$v,
@@ -2346,7 +3064,7 @@ function equals$v(existing, incoming) {
2346
3064
  }
2347
3065
  const ingest$h = function SemanticCalculatedDimensionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
2348
3066
  if (process.env.NODE_ENV !== 'production') {
2349
- const validateError = validate$D(input);
3067
+ const validateError = validate$B(input);
2350
3068
  if (validateError !== null) {
2351
3069
  throw validateError;
2352
3070
  }
@@ -2367,7 +3085,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
2367
3085
  }
2368
3086
 
2369
3087
  const VERSION$u = "4dc83d3583b0937db8808447abe03505";
2370
- function validate$C(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
3088
+ function validate$A(obj, path = 'SemanticCalculatedMeasurementOutputRepresentation') {
2371
3089
  const v_error = (() => {
2372
3090
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2373
3091
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -2466,7 +3184,7 @@ function validate$C(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2466
3184
  for (let i = 0; i < obj_filters.length; i++) {
2467
3185
  const obj_filters_item = obj_filters[i];
2468
3186
  const path_filters_item = path_filters + '[' + i + ']';
2469
- const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
3187
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
2470
3188
  if (referencepath_filters_itemValidationError !== null) {
2471
3189
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
2472
3190
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2567,20 +3285,20 @@ function validate$C(obj, path = 'SemanticCalculatedMeasurementOutputRepresentati
2567
3285
  return v_error === undefined ? null : v_error;
2568
3286
  }
2569
3287
  const RepresentationType$g = 'SemanticCalculatedMeasurementOutputRepresentation';
2570
- function keyBuilder$w(luvio, config) {
3288
+ function keyBuilder$y(luvio, config) {
2571
3289
  return keyPrefix + '::' + RepresentationType$g + ':' + config.name;
2572
3290
  }
2573
3291
  function keyBuilderFromType$a(luvio, object) {
2574
3292
  const keyParams = {
2575
3293
  name: object.id
2576
3294
  };
2577
- return keyBuilder$w(luvio, keyParams);
3295
+ return keyBuilder$y(luvio, keyParams);
2578
3296
  }
2579
3297
  function normalize$g(input, existing, path, luvio, store, timestamp) {
2580
3298
  return input;
2581
3299
  }
2582
- const select$I = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
2583
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
3300
+ const select$J = function SemanticCalculatedMeasurementOutputRepresentationSelect() {
3301
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
2584
3302
  return {
2585
3303
  kind: 'Fragment',
2586
3304
  version: VERSION$u,
@@ -3051,7 +3769,7 @@ function equals$u(existing, incoming) {
3051
3769
  }
3052
3770
  const ingest$g = function SemanticCalculatedMeasurementOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3053
3771
  if (process.env.NODE_ENV !== 'production') {
3054
- const validateError = validate$C(input);
3772
+ const validateError = validate$A(input);
3055
3773
  if (validateError !== null) {
3056
3774
  throw validateError;
3057
3775
  }
@@ -3071,7 +3789,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
3071
3789
  });
3072
3790
  }
3073
3791
 
3074
- function validate$B(obj, path = 'SemanticDimensionOutputRepresentation') {
3792
+ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
3075
3793
  const v_error = (() => {
3076
3794
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3077
3795
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3212,7 +3930,7 @@ function validate$B(obj, path = 'SemanticDimensionOutputRepresentation') {
3212
3930
  return v_error === undefined ? null : v_error;
3213
3931
  }
3214
3932
 
3215
- function validate$A(obj, path = 'SemanticMeasurementOutputRepresentation') {
3933
+ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
3216
3934
  const v_error = (() => {
3217
3935
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3218
3936
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3389,7 +4107,7 @@ function validate$A(obj, path = 'SemanticMeasurementOutputRepresentation') {
3389
4107
  }
3390
4108
 
3391
4109
  const VERSION$t = "4f111b93807b811179eb310384efdc35";
3392
- function validate$z(obj, path = 'SemanticDataObjectOutputRepresentation') {
4110
+ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3393
4111
  const v_error = (() => {
3394
4112
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3395
4113
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3460,7 +4178,7 @@ function validate$z(obj, path = 'SemanticDataObjectOutputRepresentation') {
3460
4178
  for (let i = 0; i < obj_filters.length; i++) {
3461
4179
  const obj_filters_item = obj_filters[i];
3462
4180
  const path_filters_item = path_filters + '[' + i + ']';
3463
- const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
4181
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
3464
4182
  if (referencepath_filters_itemValidationError !== null) {
3465
4183
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
3466
4184
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3510,7 +4228,7 @@ function validate$z(obj, path = 'SemanticDataObjectOutputRepresentation') {
3510
4228
  for (let i = 0; i < obj_semanticDimensions.length; i++) {
3511
4229
  const obj_semanticDimensions_item = obj_semanticDimensions[i];
3512
4230
  const path_semanticDimensions_item = path_semanticDimensions + '[' + i + ']';
3513
- const referencepath_semanticDimensions_itemValidationError = validate$B(obj_semanticDimensions_item, path_semanticDimensions_item);
4231
+ const referencepath_semanticDimensions_itemValidationError = validate$z(obj_semanticDimensions_item, path_semanticDimensions_item);
3514
4232
  if (referencepath_semanticDimensions_itemValidationError !== null) {
3515
4233
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimensions_item + '")\n';
3516
4234
  message += referencepath_semanticDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3534,7 +4252,7 @@ function validate$z(obj, path = 'SemanticDataObjectOutputRepresentation') {
3534
4252
  for (let i = 0; i < obj_semanticMeasurements.length; i++) {
3535
4253
  const obj_semanticMeasurements_item = obj_semanticMeasurements[i];
3536
4254
  const path_semanticMeasurements_item = path_semanticMeasurements + '[' + i + ']';
3537
- const referencepath_semanticMeasurements_itemValidationError = validate$A(obj_semanticMeasurements_item, path_semanticMeasurements_item);
4255
+ const referencepath_semanticMeasurements_itemValidationError = validate$y(obj_semanticMeasurements_item, path_semanticMeasurements_item);
3538
4256
  if (referencepath_semanticMeasurements_itemValidationError !== null) {
3539
4257
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurements_item + '")\n';
3540
4258
  message += referencepath_semanticMeasurements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3560,19 +4278,19 @@ function validate$z(obj, path = 'SemanticDataObjectOutputRepresentation') {
3560
4278
  return v_error === undefined ? null : v_error;
3561
4279
  }
3562
4280
  const RepresentationType$f = 'SemanticDataObjectOutputRepresentation';
3563
- function keyBuilder$v(luvio, config) {
4281
+ function keyBuilder$x(luvio, config) {
3564
4282
  return keyPrefix + '::' + RepresentationType$f + ':' + config.name;
3565
4283
  }
3566
4284
  function keyBuilderFromType$9(luvio, object) {
3567
4285
  const keyParams = {
3568
4286
  name: object.id
3569
4287
  };
3570
- return keyBuilder$v(luvio, keyParams);
4288
+ return keyBuilder$x(luvio, keyParams);
3571
4289
  }
3572
4290
  function normalize$f(input, existing, path, luvio, store, timestamp) {
3573
4291
  return input;
3574
4292
  }
3575
- const select$H = function SemanticDataObjectOutputRepresentationSelect() {
4293
+ const select$I = function SemanticDataObjectOutputRepresentationSelect() {
3576
4294
  return {
3577
4295
  kind: 'Fragment',
3578
4296
  version: VERSION$t,
@@ -3588,7 +4306,7 @@ function equals$t(existing, incoming) {
3588
4306
  }
3589
4307
  const ingest$f = function SemanticDataObjectOutputRepresentationIngest(input, path, luvio, store, timestamp) {
3590
4308
  if (process.env.NODE_ENV !== 'production') {
3591
- const validateError = validate$z(input);
4309
+ const validateError = validate$x(input);
3592
4310
  if (validateError !== null) {
3593
4311
  throw validateError;
3594
4312
  }
@@ -3609,7 +4327,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
3609
4327
  }
3610
4328
 
3611
4329
  const VERSION$s = "ed64ca1a99171ace8b53aff11746cc2a";
3612
- function validate$y(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
4330
+ function validate$w(obj, path = 'BinDimensionConfigurationOutputRepresentation') {
3613
4331
  const v_error = (() => {
3614
4332
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3615
4333
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3618,7 +4336,7 @@ function validate$y(obj, path = 'BinDimensionConfigurationOutputRepresentation')
3618
4336
  })();
3619
4337
  return v_error === undefined ? null : v_error;
3620
4338
  }
3621
- const select$G = function BinDimensionConfigurationOutputRepresentationSelect() {
4339
+ const select$H = function BinDimensionConfigurationOutputRepresentationSelect() {
3622
4340
  return {
3623
4341
  kind: 'Fragment',
3624
4342
  version: VERSION$s,
@@ -3641,7 +4359,7 @@ function equals$s(existing, incoming) {
3641
4359
  }
3642
4360
 
3643
4361
  const VERSION$r = "2cdadcd630abb7b981b2d131880a68c0";
3644
- function validate$x(obj, path = 'GroupDimensionGroupOutputRepresentation') {
4362
+ function validate$v(obj, path = 'GroupDimensionGroupOutputRepresentation') {
3645
4363
  const v_error = (() => {
3646
4364
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3647
4365
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3668,7 +4386,7 @@ function validate$x(obj, path = 'GroupDimensionGroupOutputRepresentation') {
3668
4386
  })();
3669
4387
  return v_error === undefined ? null : v_error;
3670
4388
  }
3671
- const select$F = function GroupDimensionGroupOutputRepresentationSelect() {
4389
+ const select$G = function GroupDimensionGroupOutputRepresentationSelect() {
3672
4390
  return {
3673
4391
  kind: 'Fragment',
3674
4392
  version: VERSION$r,
@@ -3715,7 +4433,7 @@ function equals$r(existing, incoming) {
3715
4433
  }
3716
4434
 
3717
4435
  const VERSION$q = "55c60b6207985632192cb4e419822a86";
3718
- function validate$w(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
4436
+ function validate$u(obj, path = 'GroupDimensionConfigurationOutputRepresentation') {
3719
4437
  const v_error = (() => {
3720
4438
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3721
4439
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3729,7 +4447,7 @@ function validate$w(obj, path = 'GroupDimensionConfigurationOutputRepresentation
3729
4447
  for (let i = 0; i < obj_groups.length; i++) {
3730
4448
  const obj_groups_item = obj_groups[i];
3731
4449
  const path_groups_item = path_groups + '[' + i + ']';
3732
- const referencepath_groups_itemValidationError = validate$x(obj_groups_item, path_groups_item);
4450
+ const referencepath_groups_itemValidationError = validate$v(obj_groups_item, path_groups_item);
3733
4451
  if (referencepath_groups_itemValidationError !== null) {
3734
4452
  let message = 'Object doesn\'t match GroupDimensionGroupOutputRepresentation (at "' + path_groups_item + '")\n';
3735
4453
  message += referencepath_groups_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3747,8 +4465,8 @@ function validate$w(obj, path = 'GroupDimensionConfigurationOutputRepresentation
3747
4465
  })();
3748
4466
  return v_error === undefined ? null : v_error;
3749
4467
  }
3750
- const select$E = function GroupDimensionConfigurationOutputRepresentationSelect() {
3751
- const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$F();
4468
+ const select$F = function GroupDimensionConfigurationOutputRepresentationSelect() {
4469
+ const { selections: GroupDimensionGroupOutputRepresentation__selections, opaque: GroupDimensionGroupOutputRepresentation__opaque, } = select$G();
3752
4470
  return {
3753
4471
  kind: 'Fragment',
3754
4472
  version: VERSION$q,
@@ -3805,7 +4523,7 @@ function equals$q(existing, incoming) {
3805
4523
  }
3806
4524
 
3807
4525
  const VERSION$p = "50dc390b159159afb1945b9a811c9f80";
3808
- function validate$v(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
4526
+ function validate$t(obj, path = 'SemanticGroupingConfigurationOutputRepresentation') {
3809
4527
  const v_error = (() => {
3810
4528
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3811
4529
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3813,7 +4531,7 @@ function validate$v(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3813
4531
  if (obj.binDimension !== undefined) {
3814
4532
  const obj_binDimension = obj.binDimension;
3815
4533
  const path_binDimension = path + '.binDimension';
3816
- const referencepath_binDimensionValidationError = validate$y(obj_binDimension, path_binDimension);
4534
+ const referencepath_binDimensionValidationError = validate$w(obj_binDimension, path_binDimension);
3817
4535
  if (referencepath_binDimensionValidationError !== null) {
3818
4536
  let message = 'Object doesn\'t match BinDimensionConfigurationOutputRepresentation (at "' + path_binDimension + '")\n';
3819
4537
  message += referencepath_binDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3823,7 +4541,7 @@ function validate$v(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3823
4541
  if (obj.groupDimension !== undefined) {
3824
4542
  const obj_groupDimension = obj.groupDimension;
3825
4543
  const path_groupDimension = path + '.groupDimension';
3826
- const referencepath_groupDimensionValidationError = validate$w(obj_groupDimension, path_groupDimension);
4544
+ const referencepath_groupDimensionValidationError = validate$u(obj_groupDimension, path_groupDimension);
3827
4545
  if (referencepath_groupDimensionValidationError !== null) {
3828
4546
  let message = 'Object doesn\'t match GroupDimensionConfigurationOutputRepresentation (at "' + path_groupDimension + '")\n';
3829
4547
  message += referencepath_groupDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3833,9 +4551,9 @@ function validate$v(obj, path = 'SemanticGroupingConfigurationOutputRepresentati
3833
4551
  })();
3834
4552
  return v_error === undefined ? null : v_error;
3835
4553
  }
3836
- const select$D = function SemanticGroupingConfigurationOutputRepresentationSelect() {
3837
- const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$G();
3838
- const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$E();
4554
+ const select$E = function SemanticGroupingConfigurationOutputRepresentationSelect() {
4555
+ const { selections: BinDimensionConfigurationOutputRepresentation__selections, opaque: BinDimensionConfigurationOutputRepresentation__opaque, } = select$H();
4556
+ const { selections: GroupDimensionConfigurationOutputRepresentation__selections, opaque: GroupDimensionConfigurationOutputRepresentation__opaque, } = select$F();
3839
4557
  return {
3840
4558
  kind: 'Fragment',
3841
4559
  version: VERSION$p,
@@ -3887,7 +4605,7 @@ function equals$p(existing, incoming) {
3887
4605
  }
3888
4606
 
3889
4607
  const VERSION$o = "a2976cd68e629a917463a3b690cf2527";
3890
- function validate$u(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
4608
+ function validate$s(obj, path = 'SemanticTableFieldReferenceOutputRepresentation') {
3891
4609
  const v_error = (() => {
3892
4610
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3893
4611
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3909,7 +4627,7 @@ function validate$u(obj, path = 'SemanticTableFieldReferenceOutputRepresentation
3909
4627
  })();
3910
4628
  return v_error === undefined ? null : v_error;
3911
4629
  }
3912
- const select$C = function SemanticTableFieldReferenceOutputRepresentationSelect() {
4630
+ const select$D = function SemanticTableFieldReferenceOutputRepresentationSelect() {
3913
4631
  return {
3914
4632
  kind: 'Fragment',
3915
4633
  version: VERSION$o,
@@ -3959,7 +4677,7 @@ function equals$o(existing, incoming) {
3959
4677
  }
3960
4678
 
3961
4679
  const VERSION$n = "f49a2cbbe308f6f74cda3e2144fa66cd";
3962
- function validate$t(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
4680
+ function validate$r(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3963
4681
  const v_error = (() => {
3964
4682
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3965
4683
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -3974,7 +4692,7 @@ function validate$t(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3974
4692
  if (obj.tableFieldReference !== undefined) {
3975
4693
  const obj_tableFieldReference = obj.tableFieldReference;
3976
4694
  const path_tableFieldReference = path + '.tableFieldReference';
3977
- const referencepath_tableFieldReferenceValidationError = validate$u(obj_tableFieldReference, path_tableFieldReference);
4695
+ const referencepath_tableFieldReferenceValidationError = validate$s(obj_tableFieldReference, path_tableFieldReference);
3978
4696
  if (referencepath_tableFieldReferenceValidationError !== null) {
3979
4697
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_tableFieldReference + '")\n';
3980
4698
  message += referencepath_tableFieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3984,8 +4702,8 @@ function validate$t(obj, path = 'SemanticFieldReferenceOutputRepresentation') {
3984
4702
  })();
3985
4703
  return v_error === undefined ? null : v_error;
3986
4704
  }
3987
- const select$B = function SemanticFieldReferenceOutputRepresentationSelect() {
3988
- const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$C();
4705
+ const select$C = function SemanticFieldReferenceOutputRepresentationSelect() {
4706
+ const { selections: SemanticTableFieldReferenceOutputRepresentation__selections, opaque: SemanticTableFieldReferenceOutputRepresentation__opaque, } = select$D();
3989
4707
  return {
3990
4708
  kind: 'Fragment',
3991
4709
  version: VERSION$n,
@@ -4036,7 +4754,7 @@ function equals$n(existing, incoming) {
4036
4754
  }
4037
4755
 
4038
4756
  const VERSION$m = "1daec40706bf767c719fa58831fad462";
4039
- function validate$s(obj, path = 'SemanticGroupingOutputRepresentation') {
4757
+ function validate$q(obj, path = 'SemanticGroupingOutputRepresentation') {
4040
4758
  const v_error = (() => {
4041
4759
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4042
4760
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4062,7 +4780,7 @@ function validate$s(obj, path = 'SemanticGroupingOutputRepresentation') {
4062
4780
  }
4063
4781
  const obj_configuration = obj.configuration;
4064
4782
  const path_configuration = path + '.configuration';
4065
- const referencepath_configurationValidationError = validate$v(obj_configuration, path_configuration);
4783
+ const referencepath_configurationValidationError = validate$t(obj_configuration, path_configuration);
4066
4784
  if (referencepath_configurationValidationError !== null) {
4067
4785
  let message = 'Object doesn\'t match SemanticGroupingConfigurationOutputRepresentation (at "' + path_configuration + '")\n';
4068
4786
  message += referencepath_configurationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4087,7 +4805,7 @@ function validate$s(obj, path = 'SemanticGroupingOutputRepresentation') {
4087
4805
  }
4088
4806
  const obj_fieldReference = obj.fieldReference;
4089
4807
  const path_fieldReference = path + '.fieldReference';
4090
- const referencepath_fieldReferenceValidationError = validate$t(obj_fieldReference, path_fieldReference);
4808
+ const referencepath_fieldReferenceValidationError = validate$r(obj_fieldReference, path_fieldReference);
4091
4809
  if (referencepath_fieldReferenceValidationError !== null) {
4092
4810
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_fieldReference + '")\n';
4093
4811
  message += referencepath_fieldReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4128,21 +4846,21 @@ function validate$s(obj, path = 'SemanticGroupingOutputRepresentation') {
4128
4846
  return v_error === undefined ? null : v_error;
4129
4847
  }
4130
4848
  const RepresentationType$e = 'SemanticGroupingOutputRepresentation';
4131
- function keyBuilder$u(luvio, config) {
4849
+ function keyBuilder$w(luvio, config) {
4132
4850
  return keyPrefix + '::' + RepresentationType$e + ':' + config.name;
4133
4851
  }
4134
4852
  function keyBuilderFromType$8(luvio, object) {
4135
4853
  const keyParams = {
4136
4854
  name: object.id
4137
4855
  };
4138
- return keyBuilder$u(luvio, keyParams);
4856
+ return keyBuilder$w(luvio, keyParams);
4139
4857
  }
4140
4858
  function normalize$e(input, existing, path, luvio, store, timestamp) {
4141
4859
  return input;
4142
4860
  }
4143
- const select$A = function SemanticGroupingOutputRepresentationSelect() {
4144
- const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$D();
4145
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
4861
+ const select$B = function SemanticGroupingOutputRepresentationSelect() {
4862
+ const { selections: SemanticGroupingConfigurationOutputRepresentation__selections, opaque: SemanticGroupingConfigurationOutputRepresentation__opaque, } = select$E();
4863
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
4146
4864
  return {
4147
4865
  kind: 'Fragment',
4148
4866
  version: VERSION$m,
@@ -4329,7 +5047,7 @@ function equals$m(existing, incoming) {
4329
5047
  }
4330
5048
  const ingest$e = function SemanticGroupingOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4331
5049
  if (process.env.NODE_ENV !== 'production') {
4332
- const validateError = validate$s(input);
5050
+ const validateError = validate$q(input);
4333
5051
  if (validateError !== null) {
4334
5052
  throw validateError;
4335
5053
  }
@@ -4350,7 +5068,7 @@ function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
4350
5068
  }
4351
5069
 
4352
5070
  const VERSION$l = "c5144c317ac72b60d580cab803514b8d";
4353
- function validate$r(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
5071
+ function validate$p(obj, path = 'SemanticRelationshipCriteriaOutputRepresentation') {
4354
5072
  const v_error = (() => {
4355
5073
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4356
5074
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4393,7 +5111,7 @@ function validate$r(obj, path = 'SemanticRelationshipCriteriaOutputRepresentatio
4393
5111
  })();
4394
5112
  return v_error === undefined ? null : v_error;
4395
5113
  }
4396
- const select$z = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
5114
+ const select$A = function SemanticRelationshipCriteriaOutputRepresentationSelect() {
4397
5115
  return {
4398
5116
  kind: 'Fragment',
4399
5117
  version: VERSION$l,
@@ -4497,7 +5215,7 @@ function equals$l(existing, incoming) {
4497
5215
  }
4498
5216
 
4499
5217
  const VERSION$k = "b9778dace5726fcb57804d3afd529246";
4500
- function validate$q(obj, path = 'SemanticRelationshipOutputRepresentation') {
5218
+ function validate$o(obj, path = 'SemanticRelationshipOutputRepresentation') {
4501
5219
  const v_error = (() => {
4502
5220
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4503
5221
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4547,7 +5265,7 @@ function validate$q(obj, path = 'SemanticRelationshipOutputRepresentation') {
4547
5265
  for (let i = 0; i < obj_criteria.length; i++) {
4548
5266
  const obj_criteria_item = obj_criteria[i];
4549
5267
  const path_criteria_item = path_criteria + '[' + i + ']';
4550
- const referencepath_criteria_itemValidationError = validate$r(obj_criteria_item, path_criteria_item);
5268
+ const referencepath_criteria_itemValidationError = validate$p(obj_criteria_item, path_criteria_item);
4551
5269
  if (referencepath_criteria_itemValidationError !== null) {
4552
5270
  let message = 'Object doesn\'t match SemanticRelationshipCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
4553
5271
  message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -4627,20 +5345,20 @@ function validate$q(obj, path = 'SemanticRelationshipOutputRepresentation') {
4627
5345
  return v_error === undefined ? null : v_error;
4628
5346
  }
4629
5347
  const RepresentationType$d = 'SemanticRelationshipOutputRepresentation';
4630
- function keyBuilder$t(luvio, config) {
5348
+ function keyBuilder$v(luvio, config) {
4631
5349
  return keyPrefix + '::' + RepresentationType$d + ':' + config.name;
4632
5350
  }
4633
5351
  function keyBuilderFromType$7(luvio, object) {
4634
5352
  const keyParams = {
4635
5353
  name: object.id
4636
5354
  };
4637
- return keyBuilder$t(luvio, keyParams);
5355
+ return keyBuilder$v(luvio, keyParams);
4638
5356
  }
4639
5357
  function normalize$d(input, existing, path, luvio, store, timestamp) {
4640
5358
  return input;
4641
5359
  }
4642
- const select$y = function SemanticRelationshipOutputRepresentationSelect() {
4643
- const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$z();
5360
+ const select$z = function SemanticRelationshipOutputRepresentationSelect() {
5361
+ const { selections: SemanticRelationshipCriteriaOutputRepresentation__selections, opaque: SemanticRelationshipCriteriaOutputRepresentation__opaque, } = select$A();
4644
5362
  return {
4645
5363
  kind: 'Fragment',
4646
5364
  version: VERSION$k,
@@ -4931,7 +5649,7 @@ function equals$k(existing, incoming) {
4931
5649
  }
4932
5650
  const ingest$d = function SemanticRelationshipOutputRepresentationIngest(input, path, luvio, store, timestamp) {
4933
5651
  if (process.env.NODE_ENV !== 'production') {
4934
- const validateError = validate$q(input);
5652
+ const validateError = validate$o(input);
4935
5653
  if (validateError !== null) {
4936
5654
  throw validateError;
4937
5655
  }
@@ -4952,7 +5670,7 @@ function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
4952
5670
  }
4953
5671
 
4954
5672
  const VERSION$j = "eaf9b57a92e764fb2b5c27b6e031cfe1";
4955
- function validate$p(obj, path = 'SemanticMappedFieldOutputRepresentation') {
5673
+ function validate$n(obj, path = 'SemanticMappedFieldOutputRepresentation') {
4956
5674
  const v_error = (() => {
4957
5675
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4958
5676
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5002,7 +5720,7 @@ function validate$p(obj, path = 'SemanticMappedFieldOutputRepresentation') {
5002
5720
  for (let i = 0; i < obj_fields.length; i++) {
5003
5721
  const obj_fields_item = obj_fields[i];
5004
5722
  const path_fields_item = path_fields + '[' + i + ']';
5005
- const referencepath_fields_itemValidationError = validate$u(obj_fields_item, path_fields_item);
5723
+ const referencepath_fields_itemValidationError = validate$s(obj_fields_item, path_fields_item);
5006
5724
  if (referencepath_fields_itemValidationError !== null) {
5007
5725
  let message = 'Object doesn\'t match SemanticTableFieldReferenceOutputRepresentation (at "' + path_fields_item + '")\n';
5008
5726
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5046,7 +5764,7 @@ function validate$p(obj, path = 'SemanticMappedFieldOutputRepresentation') {
5046
5764
  if (obj.semanticDimension !== undefined) {
5047
5765
  const obj_semanticDimension = obj.semanticDimension;
5048
5766
  const path_semanticDimension = path + '.semanticDimension';
5049
- const referencepath_semanticDimensionValidationError = validate$B(obj_semanticDimension, path_semanticDimension);
5767
+ const referencepath_semanticDimensionValidationError = validate$z(obj_semanticDimension, path_semanticDimension);
5050
5768
  if (referencepath_semanticDimensionValidationError !== null) {
5051
5769
  let message = 'Object doesn\'t match SemanticDimensionOutputRepresentation (at "' + path_semanticDimension + '")\n';
5052
5770
  message += referencepath_semanticDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5056,7 +5774,7 @@ function validate$p(obj, path = 'SemanticMappedFieldOutputRepresentation') {
5056
5774
  if (obj.semanticMeasurement !== undefined) {
5057
5775
  const obj_semanticMeasurement = obj.semanticMeasurement;
5058
5776
  const path_semanticMeasurement = path + '.semanticMeasurement';
5059
- const referencepath_semanticMeasurementValidationError = validate$A(obj_semanticMeasurement, path_semanticMeasurement);
5777
+ const referencepath_semanticMeasurementValidationError = validate$y(obj_semanticMeasurement, path_semanticMeasurement);
5060
5778
  if (referencepath_semanticMeasurementValidationError !== null) {
5061
5779
  let message = 'Object doesn\'t match SemanticMeasurementOutputRepresentation (at "' + path_semanticMeasurement + '")\n';
5062
5780
  message += referencepath_semanticMeasurementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5067,19 +5785,19 @@ function validate$p(obj, path = 'SemanticMappedFieldOutputRepresentation') {
5067
5785
  return v_error === undefined ? null : v_error;
5068
5786
  }
5069
5787
  const RepresentationType$c = 'SemanticMappedFieldOutputRepresentation';
5070
- function keyBuilder$s(luvio, config) {
5788
+ function keyBuilder$u(luvio, config) {
5071
5789
  return keyPrefix + '::' + RepresentationType$c + ':' + config.name;
5072
5790
  }
5073
5791
  function keyBuilderFromType$6(luvio, object) {
5074
5792
  const keyParams = {
5075
5793
  name: object.id
5076
5794
  };
5077
- return keyBuilder$s(luvio, keyParams);
5795
+ return keyBuilder$u(luvio, keyParams);
5078
5796
  }
5079
5797
  function normalize$c(input, existing, path, luvio, store, timestamp) {
5080
5798
  return input;
5081
5799
  }
5082
- const select$x = function SemanticMappedFieldOutputRepresentationSelect() {
5800
+ const select$y = function SemanticMappedFieldOutputRepresentationSelect() {
5083
5801
  return {
5084
5802
  kind: 'Fragment',
5085
5803
  version: VERSION$j,
@@ -5095,7 +5813,7 @@ function equals$j(existing, incoming) {
5095
5813
  }
5096
5814
  const ingest$c = function SemanticMappedFieldOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5097
5815
  if (process.env.NODE_ENV !== 'production') {
5098
- const validateError = validate$p(input);
5816
+ const validateError = validate$n(input);
5099
5817
  if (validateError !== null) {
5100
5818
  throw validateError;
5101
5819
  }
@@ -5116,7 +5834,7 @@ function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
5116
5834
  }
5117
5835
 
5118
5836
  const VERSION$i = "69fe23112140e9fae50135dcb15c24c2";
5119
- function validate$o(obj, path = 'SemanticUnionOutputRepresentation') {
5837
+ function validate$m(obj, path = 'SemanticUnionOutputRepresentation') {
5120
5838
  const v_error = (() => {
5121
5839
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5122
5840
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5243,14 +5961,14 @@ function validate$o(obj, path = 'SemanticUnionOutputRepresentation') {
5243
5961
  return v_error === undefined ? null : v_error;
5244
5962
  }
5245
5963
  const RepresentationType$b = 'SemanticUnionOutputRepresentation';
5246
- function keyBuilder$r(luvio, config) {
5964
+ function keyBuilder$t(luvio, config) {
5247
5965
  return keyPrefix + '::' + RepresentationType$b + ':' + config.name;
5248
5966
  }
5249
5967
  function keyBuilderFromType$5(luvio, object) {
5250
5968
  const keyParams = {
5251
5969
  name: object.id
5252
5970
  };
5253
- return keyBuilder$r(luvio, keyParams);
5971
+ return keyBuilder$t(luvio, keyParams);
5254
5972
  }
5255
5973
  function normalize$b(input, existing, path, luvio, store, timestamp) {
5256
5974
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -5291,7 +6009,7 @@ function normalize$b(input, existing, path, luvio, store, timestamp) {
5291
6009
  }
5292
6010
  return input;
5293
6011
  }
5294
- const select$w = function SemanticUnionOutputRepresentationSelect() {
6012
+ const select$x = function SemanticUnionOutputRepresentationSelect() {
5295
6013
  return {
5296
6014
  kind: 'Fragment',
5297
6015
  version: VERSION$i,
@@ -5353,14 +6071,14 @@ const select$w = function SemanticUnionOutputRepresentationSelect() {
5353
6071
  kind: 'Link',
5354
6072
  plural: true,
5355
6073
  required: false,
5356
- fragment: select$H()
6074
+ fragment: select$I()
5357
6075
  },
5358
6076
  {
5359
6077
  name: 'semanticMappedFields',
5360
6078
  kind: 'Link',
5361
6079
  plural: true,
5362
6080
  required: false,
5363
- fragment: select$x()
6081
+ fragment: select$y()
5364
6082
  }
5365
6083
  ]
5366
6084
  };
@@ -5517,7 +6235,7 @@ function equals$i(existing, incoming) {
5517
6235
  }
5518
6236
  const ingest$b = function SemanticUnionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
5519
6237
  if (process.env.NODE_ENV !== 'production') {
5520
- const validateError = validate$o(input);
6238
+ const validateError = validate$m(input);
5521
6239
  if (validateError !== null) {
5522
6240
  throw validateError;
5523
6241
  }
@@ -5550,7 +6268,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
5550
6268
  }
5551
6269
 
5552
6270
  const VERSION$h = "f186bf0514421e7f42e284136d60ea6c";
5553
- function validate$n(obj, path = 'SemanticLogicalViewOutputRepresentation') {
6271
+ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5554
6272
  const v_error = (() => {
5555
6273
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5556
6274
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5614,7 +6332,7 @@ function validate$n(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5614
6332
  for (let i = 0; i < obj_filters.length; i++) {
5615
6333
  const obj_filters_item = obj_filters[i];
5616
6334
  const path_filters_item = path_filters + '[' + i + ']';
5617
- const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
6335
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
5618
6336
  if (referencepath_filters_itemValidationError !== null) {
5619
6337
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
5620
6338
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5701,14 +6419,14 @@ function validate$n(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5701
6419
  return v_error === undefined ? null : v_error;
5702
6420
  }
5703
6421
  const RepresentationType$a = 'SemanticLogicalViewOutputRepresentation';
5704
- function keyBuilder$q(luvio, config) {
6422
+ function keyBuilder$s(luvio, config) {
5705
6423
  return keyPrefix + '::' + RepresentationType$a + ':' + config.name;
5706
6424
  }
5707
6425
  function keyBuilderFromType$4(luvio, object) {
5708
6426
  const keyParams = {
5709
6427
  name: object.id
5710
6428
  };
5711
- return keyBuilder$q(luvio, keyParams);
6429
+ return keyBuilder$s(luvio, keyParams);
5712
6430
  }
5713
6431
  function normalize$a(input, existing, path, luvio, store, timestamp) {
5714
6432
  const input_semanticDataObjects = input.semanticDataObjects;
@@ -5767,8 +6485,8 @@ function normalize$a(input, existing, path, luvio, store, timestamp) {
5767
6485
  }
5768
6486
  return input;
5769
6487
  }
5770
- const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
5771
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
6488
+ const select$w = function SemanticLogicalViewOutputRepresentationSelect() {
6489
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
5772
6490
  return {
5773
6491
  kind: 'Fragment',
5774
6492
  version: VERSION$h,
@@ -5842,21 +6560,21 @@ const select$v = function SemanticLogicalViewOutputRepresentationSelect() {
5842
6560
  kind: 'Link',
5843
6561
  plural: true,
5844
6562
  required: false,
5845
- fragment: select$H()
6563
+ fragment: select$I()
5846
6564
  },
5847
6565
  {
5848
6566
  name: 'semanticRelationships',
5849
6567
  kind: 'Link',
5850
6568
  plural: true,
5851
6569
  required: false,
5852
- fragment: select$y()
6570
+ fragment: select$z()
5853
6571
  },
5854
6572
  {
5855
6573
  name: 'semanticUnions',
5856
6574
  kind: 'Link',
5857
6575
  plural: true,
5858
6576
  required: false,
5859
- fragment: select$w()
6577
+ fragment: select$x()
5860
6578
  },
5861
6579
  {
5862
6580
  name: 'semanticViewTypeEnum',
@@ -6080,7 +6798,7 @@ function equals$h(existing, incoming) {
6080
6798
  }
6081
6799
  const ingest$a = function SemanticLogicalViewOutputRepresentationIngest(input, path, luvio, store, timestamp) {
6082
6800
  if (process.env.NODE_ENV !== 'production') {
6083
- const validateError = validate$n(input);
6801
+ const validateError = validate$l(input);
6084
6802
  if (validateError !== null) {
6085
6803
  throw validateError;
6086
6804
  }
@@ -6119,7 +6837,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
6119
6837
  }
6120
6838
 
6121
6839
  const VERSION$g = "a50848c632bb205d5e910bb726d9219e";
6122
- function validate$m(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
6840
+ function validate$k(obj, path = 'SemanticIdentifyingDimensionOutputRepresentation') {
6123
6841
  const v_error = (() => {
6124
6842
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6125
6843
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6127,7 +6845,7 @@ function validate$m(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
6127
6845
  if (obj.identifierDimensionReference !== undefined) {
6128
6846
  const obj_identifierDimensionReference = obj.identifierDimensionReference;
6129
6847
  const path_identifierDimensionReference = path + '.identifierDimensionReference';
6130
- const referencepath_identifierDimensionReferenceValidationError = validate$t(obj_identifierDimensionReference, path_identifierDimensionReference);
6848
+ const referencepath_identifierDimensionReferenceValidationError = validate$r(obj_identifierDimensionReference, path_identifierDimensionReference);
6131
6849
  if (referencepath_identifierDimensionReferenceValidationError !== null) {
6132
6850
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_identifierDimensionReference + '")\n';
6133
6851
  message += referencepath_identifierDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6137,7 +6855,7 @@ function validate$m(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
6137
6855
  if (obj.namingDimensionReference !== undefined) {
6138
6856
  const obj_namingDimensionReference = obj.namingDimensionReference;
6139
6857
  const path_namingDimensionReference = path + '.namingDimensionReference';
6140
- const referencepath_namingDimensionReferenceValidationError = validate$t(obj_namingDimensionReference, path_namingDimensionReference);
6858
+ const referencepath_namingDimensionReferenceValidationError = validate$r(obj_namingDimensionReference, path_namingDimensionReference);
6141
6859
  if (referencepath_namingDimensionReferenceValidationError !== null) {
6142
6860
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_namingDimensionReference + '")\n';
6143
6861
  message += referencepath_namingDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6147,8 +6865,8 @@ function validate$m(obj, path = 'SemanticIdentifyingDimensionOutputRepresentatio
6147
6865
  })();
6148
6866
  return v_error === undefined ? null : v_error;
6149
6867
  }
6150
- const select$u = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
6151
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
6868
+ const select$v = function SemanticIdentifyingDimensionOutputRepresentationSelect() {
6869
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
6152
6870
  return {
6153
6871
  kind: 'Fragment',
6154
6872
  version: VERSION$g,
@@ -6200,7 +6918,7 @@ function equals$g(existing, incoming) {
6200
6918
  }
6201
6919
 
6202
6920
  const VERSION$f = "1b8cf2283d5d5c480459506274f0604c";
6203
- function validate$l(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6921
+ function validate$j(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6204
6922
  const v_error = (() => {
6205
6923
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6206
6924
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6222,7 +6940,7 @@ function validate$l(obj, path = 'SemanticInsightTypeOutputRepresentation') {
6222
6940
  })();
6223
6941
  return v_error === undefined ? null : v_error;
6224
6942
  }
6225
- const select$t = function SemanticInsightTypeOutputRepresentationSelect() {
6943
+ const select$u = function SemanticInsightTypeOutputRepresentationSelect() {
6226
6944
  return {
6227
6945
  kind: 'Fragment',
6228
6946
  version: VERSION$f,
@@ -6272,7 +6990,7 @@ function equals$f(existing, incoming) {
6272
6990
  }
6273
6991
 
6274
6992
  const VERSION$e = "a3f5972287be7bcf9ca205af56046a58";
6275
- function validate$k(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
6993
+ function validate$i(obj, path = 'SemanticInsightsSettingsOutputRepresentation') {
6276
6994
  const v_error = (() => {
6277
6995
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6278
6996
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6280,7 +6998,7 @@ function validate$k(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6280
6998
  if (obj.identifyingDimension !== undefined) {
6281
6999
  const obj_identifyingDimension = obj.identifyingDimension;
6282
7000
  const path_identifyingDimension = path + '.identifyingDimension';
6283
- const referencepath_identifyingDimensionValidationError = validate$m(obj_identifyingDimension, path_identifyingDimension);
7001
+ const referencepath_identifyingDimensionValidationError = validate$k(obj_identifyingDimension, path_identifyingDimension);
6284
7002
  if (referencepath_identifyingDimensionValidationError !== null) {
6285
7003
  let message = 'Object doesn\'t match SemanticIdentifyingDimensionOutputRepresentation (at "' + path_identifyingDimension + '")\n';
6286
7004
  message += referencepath_identifyingDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6296,7 +7014,7 @@ function validate$k(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6296
7014
  for (let i = 0; i < obj_insightTypes.length; i++) {
6297
7015
  const obj_insightTypes_item = obj_insightTypes[i];
6298
7016
  const path_insightTypes_item = path_insightTypes + '[' + i + ']';
6299
- const referencepath_insightTypes_itemValidationError = validate$l(obj_insightTypes_item, path_insightTypes_item);
7017
+ const referencepath_insightTypes_itemValidationError = validate$j(obj_insightTypes_item, path_insightTypes_item);
6300
7018
  if (referencepath_insightTypes_itemValidationError !== null) {
6301
7019
  let message = 'Object doesn\'t match SemanticInsightTypeOutputRepresentation (at "' + path_insightTypes_item + '")\n';
6302
7020
  message += referencepath_insightTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6313,7 +7031,7 @@ function validate$k(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6313
7031
  for (let i = 0; i < obj_insightsDimensionsReferences.length; i++) {
6314
7032
  const obj_insightsDimensionsReferences_item = obj_insightsDimensionsReferences[i];
6315
7033
  const path_insightsDimensionsReferences_item = path_insightsDimensionsReferences + '[' + i + ']';
6316
- const referencepath_insightsDimensionsReferences_itemValidationError = validate$t(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
7034
+ const referencepath_insightsDimensionsReferences_itemValidationError = validate$r(obj_insightsDimensionsReferences_item, path_insightsDimensionsReferences_item);
6317
7035
  if (referencepath_insightsDimensionsReferences_itemValidationError !== null) {
6318
7036
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_insightsDimensionsReferences_item + '")\n';
6319
7037
  message += referencepath_insightsDimensionsReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6345,10 +7063,10 @@ function validate$k(obj, path = 'SemanticInsightsSettingsOutputRepresentation')
6345
7063
  })();
6346
7064
  return v_error === undefined ? null : v_error;
6347
7065
  }
6348
- const select$s = function SemanticInsightsSettingsOutputRepresentationSelect() {
6349
- const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$u();
6350
- const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$t();
6351
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
7066
+ const select$t = function SemanticInsightsSettingsOutputRepresentationSelect() {
7067
+ const { selections: SemanticIdentifyingDimensionOutputRepresentation__selections, opaque: SemanticIdentifyingDimensionOutputRepresentation__opaque, } = select$v();
7068
+ const { selections: SemanticInsightTypeOutputRepresentation__selections, opaque: SemanticInsightTypeOutputRepresentation__opaque, } = select$u();
7069
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
6352
7070
  return {
6353
7071
  kind: 'Fragment',
6354
7072
  version: VERSION$e,
@@ -6485,7 +7203,7 @@ function equals$e(existing, incoming) {
6485
7203
  }
6486
7204
 
6487
7205
  const VERSION$d = "0873ccd85b32d14c753931243d20ac8b";
6488
- function validate$j(obj, path = 'SemanticMetricOutputRepresentation') {
7206
+ function validate$h(obj, path = 'SemanticMetricOutputRepresentation') {
6489
7207
  const v_error = (() => {
6490
7208
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6491
7209
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -6499,7 +7217,7 @@ function validate$j(obj, path = 'SemanticMetricOutputRepresentation') {
6499
7217
  for (let i = 0; i < obj_additionalDimensions.length; i++) {
6500
7218
  const obj_additionalDimensions_item = obj_additionalDimensions[i];
6501
7219
  const path_additionalDimensions_item = path_additionalDimensions + '[' + i + ']';
6502
- const referencepath_additionalDimensions_itemValidationError = validate$t(obj_additionalDimensions_item, path_additionalDimensions_item);
7220
+ const referencepath_additionalDimensions_itemValidationError = validate$r(obj_additionalDimensions_item, path_additionalDimensions_item);
6503
7221
  if (referencepath_additionalDimensions_itemValidationError !== null) {
6504
7222
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_additionalDimensions_item + '")\n';
6505
7223
  message += referencepath_additionalDimensions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6566,7 +7284,7 @@ function validate$j(obj, path = 'SemanticMetricOutputRepresentation') {
6566
7284
  for (let i = 0; i < obj_filters.length; i++) {
6567
7285
  const obj_filters_item = obj_filters[i];
6568
7286
  const path_filters_item = path_filters + '[' + i + ']';
6569
- const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
7287
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
6570
7288
  if (referencepath_filters_itemValidationError !== null) {
6571
7289
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
6572
7290
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6582,7 +7300,7 @@ function validate$j(obj, path = 'SemanticMetricOutputRepresentation') {
6582
7300
  if (obj.insightsSettings !== undefined) {
6583
7301
  const obj_insightsSettings = obj.insightsSettings;
6584
7302
  const path_insightsSettings = path + '.insightsSettings';
6585
- const referencepath_insightsSettingsValidationError = validate$k(obj_insightsSettings, path_insightsSettings);
7303
+ const referencepath_insightsSettingsValidationError = validate$i(obj_insightsSettings, path_insightsSettings);
6586
7304
  if (referencepath_insightsSettingsValidationError !== null) {
6587
7305
  let message = 'Object doesn\'t match SemanticInsightsSettingsOutputRepresentation (at "' + path_insightsSettings + '")\n';
6588
7306
  message += referencepath_insightsSettingsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6620,7 +7338,7 @@ function validate$j(obj, path = 'SemanticMetricOutputRepresentation') {
6620
7338
  if (obj.measurementReference !== undefined) {
6621
7339
  const obj_measurementReference = obj.measurementReference;
6622
7340
  const path_measurementReference = path + '.measurementReference';
6623
- const referencepath_measurementReferenceValidationError = validate$t(obj_measurementReference, path_measurementReference);
7341
+ const referencepath_measurementReferenceValidationError = validate$r(obj_measurementReference, path_measurementReference);
6624
7342
  if (referencepath_measurementReferenceValidationError !== null) {
6625
7343
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_measurementReference + '")\n';
6626
7344
  message += referencepath_measurementReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6630,7 +7348,7 @@ function validate$j(obj, path = 'SemanticMetricOutputRepresentation') {
6630
7348
  if (obj.timeDimensionReference !== undefined) {
6631
7349
  const obj_timeDimensionReference = obj.timeDimensionReference;
6632
7350
  const path_timeDimensionReference = path + '.timeDimensionReference';
6633
- const referencepath_timeDimensionReferenceValidationError = validate$t(obj_timeDimensionReference, path_timeDimensionReference);
7351
+ const referencepath_timeDimensionReferenceValidationError = validate$r(obj_timeDimensionReference, path_timeDimensionReference);
6634
7352
  if (referencepath_timeDimensionReferenceValidationError !== null) {
6635
7353
  let message = 'Object doesn\'t match SemanticFieldReferenceOutputRepresentation (at "' + path_timeDimensionReference + '")\n';
6636
7354
  message += referencepath_timeDimensionReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -6655,22 +7373,22 @@ function validate$j(obj, path = 'SemanticMetricOutputRepresentation') {
6655
7373
  return v_error === undefined ? null : v_error;
6656
7374
  }
6657
7375
  const RepresentationType$9 = 'SemanticMetricOutputRepresentation';
6658
- function keyBuilder$p(luvio, config) {
7376
+ function keyBuilder$r(luvio, config) {
6659
7377
  return keyPrefix + '::' + RepresentationType$9 + ':' + config.name;
6660
7378
  }
6661
7379
  function keyBuilderFromType$3(luvio, object) {
6662
7380
  const keyParams = {
6663
7381
  name: object.id
6664
7382
  };
6665
- return keyBuilder$p(luvio, keyParams);
7383
+ return keyBuilder$r(luvio, keyParams);
6666
7384
  }
6667
7385
  function normalize$9(input, existing, path, luvio, store, timestamp) {
6668
7386
  return input;
6669
7387
  }
6670
- const select$r = function SemanticMetricOutputRepresentationSelect() {
6671
- const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$B();
6672
- const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$K();
6673
- const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$s();
7388
+ const select$s = function SemanticMetricOutputRepresentationSelect() {
7389
+ const { selections: SemanticFieldReferenceOutputRepresentation__selections, opaque: SemanticFieldReferenceOutputRepresentation__opaque, } = select$C();
7390
+ const { selections: SemanticFilterOutputRepresentation__selections, opaque: SemanticFilterOutputRepresentation__opaque, } = select$L();
7391
+ const { selections: SemanticInsightsSettingsOutputRepresentation__selections, opaque: SemanticInsightsSettingsOutputRepresentation__opaque, } = select$t();
6674
7392
  return {
6675
7393
  kind: 'Fragment',
6676
7394
  version: VERSION$d,
@@ -7013,7 +7731,7 @@ function equals$d(existing, incoming) {
7013
7731
  }
7014
7732
  const ingest$9 = function SemanticMetricOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7015
7733
  if (process.env.NODE_ENV !== 'production') {
7016
- const validateError = validate$j(input);
7734
+ const validateError = validate$h(input);
7017
7735
  if (validateError !== null) {
7018
7736
  throw validateError;
7019
7737
  }
@@ -7034,7 +7752,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
7034
7752
  }
7035
7753
 
7036
7754
  const VERSION$c = "158d115be773406f841e4351d481d398";
7037
- function validate$i(obj, path = 'SemanticParameterListValueOutputRepresentation') {
7755
+ function validate$g(obj, path = 'SemanticParameterListValueOutputRepresentation') {
7038
7756
  const v_error = (() => {
7039
7757
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7040
7758
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7056,7 +7774,7 @@ function validate$i(obj, path = 'SemanticParameterListValueOutputRepresentation'
7056
7774
  })();
7057
7775
  return v_error === undefined ? null : v_error;
7058
7776
  }
7059
- const select$q = function SemanticParameterListValueOutputRepresentationSelect() {
7777
+ const select$r = function SemanticParameterListValueOutputRepresentationSelect() {
7060
7778
  return {
7061
7779
  kind: 'Fragment',
7062
7780
  version: VERSION$c,
@@ -7106,7 +7824,7 @@ function equals$c(existing, incoming) {
7106
7824
  }
7107
7825
 
7108
7826
  const VERSION$b = "6ed89c4ce77235d13ce6bb395ae49d8e";
7109
- function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
7827
+ function validate$f(obj, path = 'SemanticParameterOutputRepresentation') {
7110
7828
  const v_error = (() => {
7111
7829
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7112
7830
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7120,7 +7838,7 @@ function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
7120
7838
  for (let i = 0; i < obj_allowedValues.length; i++) {
7121
7839
  const obj_allowedValues_item = obj_allowedValues[i];
7122
7840
  const path_allowedValues_item = path_allowedValues + '[' + i + ']';
7123
- const referencepath_allowedValues_itemValidationError = validate$i(obj_allowedValues_item, path_allowedValues_item);
7841
+ const referencepath_allowedValues_itemValidationError = validate$g(obj_allowedValues_item, path_allowedValues_item);
7124
7842
  if (referencepath_allowedValues_itemValidationError !== null) {
7125
7843
  let message = 'Object doesn\'t match SemanticParameterListValueOutputRepresentation (at "' + path_allowedValues_item + '")\n';
7126
7844
  message += referencepath_allowedValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7250,20 +7968,20 @@ function validate$h(obj, path = 'SemanticParameterOutputRepresentation') {
7250
7968
  return v_error === undefined ? null : v_error;
7251
7969
  }
7252
7970
  const RepresentationType$8 = 'SemanticParameterOutputRepresentation';
7253
- function keyBuilder$o(luvio, config) {
7971
+ function keyBuilder$q(luvio, config) {
7254
7972
  return keyPrefix + '::' + RepresentationType$8 + ':' + config.name;
7255
7973
  }
7256
7974
  function keyBuilderFromType$2(luvio, object) {
7257
7975
  const keyParams = {
7258
7976
  name: object.id
7259
7977
  };
7260
- return keyBuilder$o(luvio, keyParams);
7978
+ return keyBuilder$q(luvio, keyParams);
7261
7979
  }
7262
7980
  function normalize$8(input, existing, path, luvio, store, timestamp) {
7263
7981
  return input;
7264
7982
  }
7265
- const select$p = function SemanticParameterOutputRepresentationSelect() {
7266
- const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$q();
7983
+ const select$q = function SemanticParameterOutputRepresentationSelect() {
7984
+ const { selections: SemanticParameterListValueOutputRepresentation__selections, opaque: SemanticParameterListValueOutputRepresentation__opaque, } = select$r();
7267
7985
  return {
7268
7986
  kind: 'Fragment',
7269
7987
  version: VERSION$b,
@@ -7578,7 +8296,7 @@ function equals$b(existing, incoming) {
7578
8296
  }
7579
8297
  const ingest$8 = function SemanticParameterOutputRepresentationIngest(input, path, luvio, store, timestamp) {
7580
8298
  if (process.env.NODE_ENV !== 'production') {
7581
- const validateError = validate$h(input);
8299
+ const validateError = validate$f(input);
7582
8300
  if (validateError !== null) {
7583
8301
  throw validateError;
7584
8302
  }
@@ -7599,7 +8317,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
7599
8317
  }
7600
8318
 
7601
8319
  const VERSION$a = "5cda82e85d7322d459ba16b10b81ee96";
7602
- function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
8320
+ function validate$e(obj, path = 'SemanticModelOutputRepresentation') {
7603
8321
  const v_error = (() => {
7604
8322
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7605
8323
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -7632,7 +8350,7 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
7632
8350
  for (let i = 0; i < obj_baseModels.length; i++) {
7633
8351
  const obj_baseModels_item = obj_baseModels[i];
7634
8352
  const path_baseModels_item = path_baseModels + '[' + i + ']';
7635
- const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
8353
+ const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
7636
8354
  if (referencepath_baseModels_itemValidationError !== null) {
7637
8355
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
7638
8356
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -7916,14 +8634,14 @@ function validate$g(obj, path = 'SemanticModelOutputRepresentation') {
7916
8634
  return v_error === undefined ? null : v_error;
7917
8635
  }
7918
8636
  const RepresentationType$7 = 'SemanticModelOutputRepresentation';
7919
- function keyBuilder$n(luvio, config) {
8637
+ function keyBuilder$p(luvio, config) {
7920
8638
  return keyPrefix + '::' + RepresentationType$7 + ':' + config.name;
7921
8639
  }
7922
8640
  function keyBuilderFromType$1(luvio, object) {
7923
8641
  const keyParams = {
7924
8642
  name: object.id
7925
8643
  };
7926
- return keyBuilder$n(luvio, keyParams);
8644
+ return keyBuilder$p(luvio, keyParams);
7927
8645
  }
7928
8646
  function normalize$7(input, existing, path, luvio, store, timestamp) {
7929
8647
  const input_semanticCalculatedDimensions = input.semanticCalculatedDimensions;
@@ -8072,8 +8790,8 @@ function normalize$7(input, existing, path, luvio, store, timestamp) {
8072
8790
  }
8073
8791
  return input;
8074
8792
  }
8075
- const select$o = function SemanticModelOutputRepresentationSelect() {
8076
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$L();
8793
+ const select$p = function SemanticModelOutputRepresentationSelect() {
8794
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$M();
8077
8795
  return {
8078
8796
  kind: 'Fragment',
8079
8797
  version: VERSION$a,
@@ -8162,7 +8880,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
8162
8880
  kind: 'Link',
8163
8881
  plural: true,
8164
8882
  required: false,
8165
- fragment: select$J()
8883
+ fragment: select$K()
8166
8884
  },
8167
8885
  {
8168
8886
  name: 'semanticCalculatedDimensionsUrl',
@@ -8174,7 +8892,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
8174
8892
  kind: 'Link',
8175
8893
  plural: true,
8176
8894
  required: false,
8177
- fragment: select$I()
8895
+ fragment: select$J()
8178
8896
  },
8179
8897
  {
8180
8898
  name: 'semanticCalculatedMeasurementsUrl',
@@ -8186,7 +8904,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
8186
8904
  kind: 'Link',
8187
8905
  plural: true,
8188
8906
  required: false,
8189
- fragment: select$H()
8907
+ fragment: select$I()
8190
8908
  },
8191
8909
  {
8192
8910
  name: 'semanticDataObjectsUrl',
@@ -8198,7 +8916,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
8198
8916
  kind: 'Link',
8199
8917
  plural: true,
8200
8918
  required: false,
8201
- fragment: select$A()
8919
+ fragment: select$B()
8202
8920
  },
8203
8921
  {
8204
8922
  name: 'semanticGroupingsUrl',
@@ -8210,21 +8928,21 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
8210
8928
  kind: 'Link',
8211
8929
  plural: true,
8212
8930
  required: false,
8213
- fragment: select$v()
8931
+ fragment: select$w()
8214
8932
  },
8215
8933
  {
8216
8934
  name: 'semanticMetrics',
8217
8935
  kind: 'Link',
8218
8936
  plural: true,
8219
8937
  required: false,
8220
- fragment: select$r()
8938
+ fragment: select$s()
8221
8939
  },
8222
8940
  {
8223
8941
  name: 'semanticParameters',
8224
8942
  kind: 'Link',
8225
8943
  plural: true,
8226
8944
  required: false,
8227
- fragment: select$p()
8945
+ fragment: select$q()
8228
8946
  },
8229
8947
  {
8230
8948
  name: 'semanticParametersUrl',
@@ -8236,7 +8954,7 @@ const select$o = function SemanticModelOutputRepresentationSelect() {
8236
8954
  kind: 'Link',
8237
8955
  plural: true,
8238
8956
  required: false,
8239
- fragment: select$y()
8957
+ fragment: select$z()
8240
8958
  },
8241
8959
  {
8242
8960
  name: 'semanticRelationshipsUrl',
@@ -8687,7 +9405,7 @@ function equals$a(existing, incoming) {
8687
9405
  }
8688
9406
  const ingest$7 = function SemanticModelOutputRepresentationIngest(input, path, luvio, store, timestamp) {
8689
9407
  if (process.env.NODE_ENV !== 'production') {
8690
- const validateError = validate$g(input);
9408
+ const validateError = validate$e(input);
8691
9409
  if (validateError !== null) {
8692
9410
  throw validateError;
8693
9411
  }
@@ -8755,19 +9473,19 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
8755
9473
  }
8756
9474
  }
8757
9475
 
8758
- function select$n(luvio, params) {
8759
- return select$o();
9476
+ function select$o(luvio, params) {
9477
+ return select$p();
8760
9478
  }
8761
- function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
9479
+ function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
8762
9480
  getTypeCacheKeys$7(storeKeyMap, luvio, response);
8763
9481
  }
8764
- function ingestSuccess$d(luvio, resourceParams, response) {
9482
+ function ingestSuccess$e(luvio, resourceParams, response) {
8765
9483
  const { body } = response;
8766
9484
  const key = keyBuilderFromType$1(luvio, body);
8767
9485
  luvio.storeIngest(key, ingest$7, body);
8768
9486
  const snapshot = luvio.storeLookup({
8769
9487
  recordId: key,
8770
- node: select$n(),
9488
+ node: select$o(),
8771
9489
  variables: {},
8772
9490
  });
8773
9491
  if (process.env.NODE_ENV !== 'production') {
@@ -8778,7 +9496,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
8778
9496
  deepFreeze(snapshot.data);
8779
9497
  return snapshot;
8780
9498
  }
8781
- function createResourceRequest$f(config) {
9499
+ function createResourceRequest$g(config) {
8782
9500
  const headers = {};
8783
9501
  return {
8784
9502
  baseUri: '/services/data/v63.0',
@@ -8792,7 +9510,7 @@ function createResourceRequest$f(config) {
8792
9510
  };
8793
9511
  }
8794
9512
 
8795
- const adapterName$f = 'createSemanticModel';
9513
+ const adapterName$g = 'createSemanticModel';
8796
9514
  const createSemanticModel_ConfigPropertyMetadata = [
8797
9515
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
8798
9516
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
@@ -8813,17 +9531,17 @@ const createSemanticModel_ConfigPropertyMetadata = [
8813
9531
  generateParamConfigMetadata('semanticParameters', false, 2 /* Body */, 4 /* Unsupported */, true),
8814
9532
  generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
8815
9533
  ];
8816
- const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, createSemanticModel_ConfigPropertyMetadata);
8817
- const createResourceParams$f = /*#__PURE__*/ createResourceParams$g(createSemanticModel_ConfigPropertyMetadata);
8818
- function typeCheckConfig$f(untrustedConfig) {
9534
+ const createSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, createSemanticModel_ConfigPropertyMetadata);
9535
+ const createResourceParams$g = /*#__PURE__*/ createResourceParams$i(createSemanticModel_ConfigPropertyMetadata);
9536
+ function typeCheckConfig$g(untrustedConfig) {
8819
9537
  const config = {};
8820
- typeCheckConfig$g(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
9538
+ typeCheckConfig$i(untrustedConfig, config, createSemanticModel_ConfigPropertyMetadata);
8821
9539
  const untrustedConfig_baseModels = untrustedConfig.baseModels;
8822
9540
  if (ArrayIsArray$1(untrustedConfig_baseModels)) {
8823
9541
  const untrustedConfig_baseModels_array = [];
8824
9542
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
8825
9543
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
8826
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
9544
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
8827
9545
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
8828
9546
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
8829
9547
  }
@@ -8835,7 +9553,7 @@ function typeCheckConfig$f(untrustedConfig) {
8835
9553
  const untrustedConfig_semanticCalculatedDimensions_array = [];
8836
9554
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
8837
9555
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
8838
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
9556
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
8839
9557
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
8840
9558
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
8841
9559
  }
@@ -8847,7 +9565,7 @@ function typeCheckConfig$f(untrustedConfig) {
8847
9565
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
8848
9566
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
8849
9567
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
8850
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
9568
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
8851
9569
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
8852
9570
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
8853
9571
  }
@@ -8859,7 +9577,7 @@ function typeCheckConfig$f(untrustedConfig) {
8859
9577
  const untrustedConfig_semanticDataObjects_array = [];
8860
9578
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
8861
9579
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
8862
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
9580
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
8863
9581
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
8864
9582
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
8865
9583
  }
@@ -8871,7 +9589,7 @@ function typeCheckConfig$f(untrustedConfig) {
8871
9589
  const untrustedConfig_semanticGroupings_array = [];
8872
9590
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
8873
9591
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
8874
- const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
9592
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
8875
9593
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
8876
9594
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
8877
9595
  }
@@ -8883,7 +9601,7 @@ function typeCheckConfig$f(untrustedConfig) {
8883
9601
  const untrustedConfig_semanticLogicalViews_array = [];
8884
9602
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
8885
9603
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
8886
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
9604
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
8887
9605
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
8888
9606
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
8889
9607
  }
@@ -8895,7 +9613,7 @@ function typeCheckConfig$f(untrustedConfig) {
8895
9613
  const untrustedConfig_semanticMetrics_array = [];
8896
9614
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
8897
9615
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
8898
- const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
9616
+ const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
8899
9617
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
8900
9618
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
8901
9619
  }
@@ -8907,7 +9625,7 @@ function typeCheckConfig$f(untrustedConfig) {
8907
9625
  const untrustedConfig_semanticParameters_array = [];
8908
9626
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
8909
9627
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
8910
- const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
9628
+ const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
8911
9629
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
8912
9630
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
8913
9631
  }
@@ -8919,7 +9637,7 @@ function typeCheckConfig$f(untrustedConfig) {
8919
9637
  const untrustedConfig_semanticRelationships_array = [];
8920
9638
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
8921
9639
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
8922
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
9640
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
8923
9641
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
8924
9642
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
8925
9643
  }
@@ -8928,100 +9646,49 @@ function typeCheckConfig$f(untrustedConfig) {
8928
9646
  }
8929
9647
  return config;
8930
9648
  }
8931
- function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
9649
+ function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
8932
9650
  if (!untrustedIsObject(untrustedConfig)) {
8933
9651
  return null;
8934
9652
  }
8935
9653
  if (process.env.NODE_ENV !== 'production') {
8936
9654
  validateConfig(untrustedConfig, configPropertyNames);
8937
9655
  }
8938
- const config = typeCheckConfig$f(untrustedConfig);
9656
+ const config = typeCheckConfig$g(untrustedConfig);
8939
9657
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
8940
9658
  return null;
8941
9659
  }
8942
9660
  return config;
8943
9661
  }
8944
- function buildNetworkSnapshot$f(luvio, config, options) {
8945
- const resourceParams = createResourceParams$f(config);
8946
- const request = createResourceRequest$f(resourceParams);
9662
+ function buildNetworkSnapshot$g(luvio, config, options) {
9663
+ const resourceParams = createResourceParams$g(config);
9664
+ const request = createResourceRequest$g(resourceParams);
8947
9665
  return luvio.dispatchResourceRequest(request, options)
8948
9666
  .then((response) => {
8949
9667
  return luvio.handleSuccessResponse(() => {
8950
- const snapshot = ingestSuccess$d(luvio, resourceParams, response);
9668
+ const snapshot = ingestSuccess$e(luvio, resourceParams, response);
8951
9669
  return luvio.storeBroadcast().then(() => snapshot);
8952
9670
  }, () => {
8953
9671
  const cache = new StoreKeyMap();
8954
- getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
9672
+ getResponseCacheKeys$g(cache, luvio, resourceParams, response.body);
8955
9673
  return cache;
8956
9674
  });
8957
- }, (response) => {
8958
- deepFreeze(response);
8959
- throw response;
8960
- });
8961
- }
8962
- const createSemanticModelAdapterFactory = (luvio) => {
8963
- return function createSemanticModel(untrustedConfig) {
8964
- const config = validateAdapterConfig$f(untrustedConfig, createSemanticModel_ConfigPropertyNames);
8965
- // Invalid or incomplete config
8966
- if (config === null) {
8967
- throw new Error('Invalid config for "createSemanticModel"');
8968
- }
8969
- return buildNetworkSnapshot$f(luvio, config);
8970
- };
8971
- };
8972
-
8973
- function validate$f(obj, path = 'SemanticGoalStatusConditionInputRepresentation') {
8974
- const v_error = (() => {
8975
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8976
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8977
- }
8978
- if (obj.color !== undefined) {
8979
- const obj_color = obj.color;
8980
- const path_color = path + '.color';
8981
- if (typeof obj_color !== 'string') {
8982
- return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
8983
- }
8984
- }
8985
- if (obj.currencyIsoCode !== undefined) {
8986
- const obj_currencyIsoCode = obj.currencyIsoCode;
8987
- const path_currencyIsoCode = path + '.currencyIsoCode';
8988
- if (typeof obj_currencyIsoCode !== 'string') {
8989
- return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
8990
- }
8991
- }
8992
- if (obj.operator !== undefined) {
8993
- const obj_operator = obj.operator;
8994
- const path_operator = path + '.operator';
8995
- if (typeof obj_operator !== 'string') {
8996
- return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
8997
- }
8998
- }
8999
- if (obj.primary !== undefined) {
9000
- const obj_primary = obj.primary;
9001
- const path_primary = path + '.primary';
9002
- if (typeof obj_primary !== 'boolean') {
9003
- return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
9004
- }
9005
- }
9006
- if (obj.statusName !== undefined) {
9007
- const obj_statusName = obj.statusName;
9008
- const path_statusName = path + '.statusName';
9009
- if (typeof obj_statusName !== 'string') {
9010
- return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
9011
- }
9012
- }
9013
- if (obj.value !== undefined) {
9014
- const obj_value = obj.value;
9015
- const path_value = path + '.value';
9016
- if (typeof obj_value !== 'string') {
9017
- return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
9018
- }
9019
- }
9020
- })();
9021
- return v_error === undefined ? null : v_error;
9675
+ }, (response) => {
9676
+ deepFreeze(response);
9677
+ throw response;
9678
+ });
9022
9679
  }
9680
+ const createSemanticModelAdapterFactory = (luvio) => {
9681
+ return function createSemanticModel(untrustedConfig) {
9682
+ const config = validateAdapterConfig$g(untrustedConfig, createSemanticModel_ConfigPropertyNames);
9683
+ // Invalid or incomplete config
9684
+ if (config === null) {
9685
+ throw new Error('Invalid config for "createSemanticModel"');
9686
+ }
9687
+ return buildNetworkSnapshot$g(luvio, config);
9688
+ };
9689
+ };
9023
9690
 
9024
- function validate$e(obj, path = 'SemanticMetricGoalInputRepresentation') {
9691
+ function validate$d(obj, path = 'SemanticMetricGoalInputRepresentation') {
9025
9692
  const v_error = (() => {
9026
9693
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9027
9694
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -9042,7 +9709,7 @@ function validate$e(obj, path = 'SemanticMetricGoalInputRepresentation') {
9042
9709
  for (let i = 0; i < obj_statusConditions.length; i++) {
9043
9710
  const obj_statusConditions_item = obj_statusConditions[i];
9044
9711
  const path_statusConditions_item = path_statusConditions + '[' + i + ']';
9045
- const referencepath_statusConditions_itemValidationError = validate$f(obj_statusConditions_item, path_statusConditions_item);
9712
+ const referencepath_statusConditions_itemValidationError = validate$13(obj_statusConditions_item, path_statusConditions_item);
9046
9713
  if (referencepath_statusConditions_itemValidationError !== null) {
9047
9714
  let message = 'Object doesn\'t match SemanticGoalStatusConditionInputRepresentation (at "' + path_statusConditions_item + '")\n';
9048
9715
  message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9054,7 +9721,7 @@ function validate$e(obj, path = 'SemanticMetricGoalInputRepresentation') {
9054
9721
  return v_error === undefined ? null : v_error;
9055
9722
  }
9056
9723
 
9057
- function validate$d(obj, path = 'SemanticTimeRangeInputRepresentation') {
9724
+ function validate$c(obj, path = 'SemanticTimeRangeInputRepresentation') {
9058
9725
  const v_error = (() => {
9059
9726
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9060
9727
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -9084,47 +9751,6 @@ function validate$d(obj, path = 'SemanticTimeRangeInputRepresentation') {
9084
9751
  return v_error === undefined ? null : v_error;
9085
9752
  }
9086
9753
 
9087
- function validate$c(obj, path = 'SemanticGoalStatusConditionOutputRepresentation') {
9088
- const v_error = (() => {
9089
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
9090
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
9091
- }
9092
- const obj_color = obj.color;
9093
- const path_color = path + '.color';
9094
- if (typeof obj_color !== 'string') {
9095
- return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
9096
- }
9097
- if (obj.currencyIsoCode !== undefined) {
9098
- const obj_currencyIsoCode = obj.currencyIsoCode;
9099
- const path_currencyIsoCode = path + '.currencyIsoCode';
9100
- if (typeof obj_currencyIsoCode !== 'string') {
9101
- return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
9102
- }
9103
- }
9104
- const obj_operator = obj.operator;
9105
- const path_operator = path + '.operator';
9106
- if (typeof obj_operator !== 'string') {
9107
- return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
9108
- }
9109
- const obj_primary = obj.primary;
9110
- const path_primary = path + '.primary';
9111
- if (typeof obj_primary !== 'boolean') {
9112
- return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
9113
- }
9114
- const obj_statusName = obj.statusName;
9115
- const path_statusName = path + '.statusName';
9116
- if (typeof obj_statusName !== 'string') {
9117
- return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
9118
- }
9119
- const obj_value = obj.value;
9120
- const path_value = path + '.value';
9121
- if (typeof obj_value !== 'string') {
9122
- return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
9123
- }
9124
- })();
9125
- return v_error === undefined ? null : v_error;
9126
- }
9127
-
9128
9754
  function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
9129
9755
  const v_error = (() => {
9130
9756
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -9143,7 +9769,7 @@ function validate$b(obj, path = 'SemanticMetricGoalOutputRepresentation') {
9143
9769
  for (let i = 0; i < obj_statusConditions.length; i++) {
9144
9770
  const obj_statusConditions_item = obj_statusConditions[i];
9145
9771
  const path_statusConditions_item = path_statusConditions + '[' + i + ']';
9146
- const referencepath_statusConditions_itemValidationError = validate$c(obj_statusConditions_item, path_statusConditions_item);
9772
+ const referencepath_statusConditions_itemValidationError = validate$11(obj_statusConditions_item, path_statusConditions_item);
9147
9773
  if (referencepath_statusConditions_itemValidationError !== null) {
9148
9774
  let message = 'Object doesn\'t match SemanticGoalStatusConditionOutputRepresentation (at "' + path_statusConditions_item + '")\n';
9149
9775
  message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9242,7 +9868,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
9242
9868
  for (let i = 0; i < obj_filters.length; i++) {
9243
9869
  const obj_filters_item = obj_filters[i];
9244
9870
  const path_filters_item = path_filters + '[' + i + ']';
9245
- const referencepath_filters_itemValidationError = validate$E(obj_filters_item, path_filters_item);
9871
+ const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
9246
9872
  if (referencepath_filters_itemValidationError !== null) {
9247
9873
  let message = 'Object doesn\'t match SemanticFilterOutputRepresentation (at "' + path_filters_item + '")\n';
9248
9874
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9296,7 +9922,7 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
9296
9922
  if (obj.semanticMetric !== undefined) {
9297
9923
  const obj_semanticMetric = obj.semanticMetric;
9298
9924
  const path_semanticMetric = path + '.semanticMetric';
9299
- const referencepath_semanticMetricValidationError = validate$j(obj_semanticMetric, path_semanticMetric);
9925
+ const referencepath_semanticMetricValidationError = validate$h(obj_semanticMetric, path_semanticMetric);
9300
9926
  if (referencepath_semanticMetricValidationError !== null) {
9301
9927
  let message = 'Object doesn\'t match SemanticMetricOutputRepresentation (at "' + path_semanticMetric + '")\n';
9302
9928
  message += referencepath_semanticMetricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9317,19 +9943,19 @@ function validate$9(obj, path = 'SemanticSubMetricOutputRepresentation') {
9317
9943
  return v_error === undefined ? null : v_error;
9318
9944
  }
9319
9945
  const RepresentationType$6 = 'SemanticSubMetricOutputRepresentation';
9320
- function keyBuilder$m(luvio, config) {
9946
+ function keyBuilder$o(luvio, config) {
9321
9947
  return keyPrefix + '::' + RepresentationType$6 + ':' + config.name;
9322
9948
  }
9323
9949
  function keyBuilderFromType(luvio, object) {
9324
9950
  const keyParams = {
9325
9951
  name: object.id
9326
9952
  };
9327
- return keyBuilder$m(luvio, keyParams);
9953
+ return keyBuilder$o(luvio, keyParams);
9328
9954
  }
9329
9955
  function normalize$6(input, existing, path, luvio, store, timestamp) {
9330
9956
  return input;
9331
9957
  }
9332
- const select$m = function SemanticSubMetricOutputRepresentationSelect() {
9958
+ const select$n = function SemanticSubMetricOutputRepresentationSelect() {
9333
9959
  return {
9334
9960
  kind: 'Fragment',
9335
9961
  version: VERSION$9,
@@ -9365,19 +9991,19 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
9365
9991
  });
9366
9992
  }
9367
9993
 
9368
- function select$l(luvio, params) {
9369
- return select$m();
9994
+ function select$m(luvio, params) {
9995
+ return select$n();
9370
9996
  }
9371
- function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
9997
+ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
9372
9998
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
9373
9999
  }
9374
- function ingestSuccess$c(luvio, resourceParams, response) {
10000
+ function ingestSuccess$d(luvio, resourceParams, response) {
9375
10001
  const { body } = response;
9376
10002
  const key = keyBuilderFromType(luvio, body);
9377
10003
  luvio.storeIngest(key, ingest$6, body);
9378
10004
  const snapshot = luvio.storeLookup({
9379
10005
  recordId: key,
9380
- node: select$l(),
10006
+ node: select$m(),
9381
10007
  variables: {},
9382
10008
  });
9383
10009
  if (process.env.NODE_ENV !== 'production') {
@@ -9388,7 +10014,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
9388
10014
  deepFreeze(snapshot.data);
9389
10015
  return snapshot;
9390
10016
  }
9391
- function createResourceRequest$e(config) {
10017
+ function createResourceRequest$f(config) {
9392
10018
  const headers = {};
9393
10019
  return {
9394
10020
  baseUri: '/services/data/v63.0',
@@ -9402,7 +10028,7 @@ function createResourceRequest$e(config) {
9402
10028
  };
9403
10029
  }
9404
10030
 
9405
- const adapterName$e = 'createSemanticSubMetric';
10031
+ const adapterName$f = 'createSemanticSubMetric';
9406
10032
  const createSemanticSubMetric_ConfigPropertyMetadata = [
9407
10033
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9408
10034
  generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
@@ -9414,17 +10040,17 @@ const createSemanticSubMetric_ConfigPropertyMetadata = [
9414
10040
  generateParamConfigMetadata('semanticMetricDefinitionApiName', false, 2 /* Body */, 0 /* String */),
9415
10041
  generateParamConfigMetadata('timeRange', false, 2 /* Body */, 4 /* Unsupported */),
9416
10042
  ];
9417
- const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, createSemanticSubMetric_ConfigPropertyMetadata);
9418
- const createResourceParams$e = /*#__PURE__*/ createResourceParams$g(createSemanticSubMetric_ConfigPropertyMetadata);
9419
- function typeCheckConfig$e(untrustedConfig) {
10043
+ const createSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, createSemanticSubMetric_ConfigPropertyMetadata);
10044
+ const createResourceParams$f = /*#__PURE__*/ createResourceParams$i(createSemanticSubMetric_ConfigPropertyMetadata);
10045
+ function typeCheckConfig$f(untrustedConfig) {
9420
10046
  const config = {};
9421
- typeCheckConfig$g(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
10047
+ typeCheckConfig$i(untrustedConfig, config, createSemanticSubMetric_ConfigPropertyMetadata);
9422
10048
  const untrustedConfig_filters = untrustedConfig.filters;
9423
10049
  if (ArrayIsArray$1(untrustedConfig_filters)) {
9424
10050
  const untrustedConfig_filters_array = [];
9425
10051
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
9426
10052
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
9427
- const referenceSemanticFilterInputRepresentationValidationError = validate$10(untrustedConfig_filters_item);
10053
+ const referenceSemanticFilterInputRepresentationValidationError = validate$_(untrustedConfig_filters_item);
9428
10054
  if (referenceSemanticFilterInputRepresentationValidationError === null) {
9429
10055
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
9430
10056
  }
@@ -9432,41 +10058,41 @@ function typeCheckConfig$e(untrustedConfig) {
9432
10058
  config.filters = untrustedConfig_filters_array;
9433
10059
  }
9434
10060
  const untrustedConfig_goal = untrustedConfig.goal;
9435
- const referenceSemanticMetricGoalInputRepresentationValidationError = validate$e(untrustedConfig_goal);
10061
+ const referenceSemanticMetricGoalInputRepresentationValidationError = validate$d(untrustedConfig_goal);
9436
10062
  if (referenceSemanticMetricGoalInputRepresentationValidationError === null) {
9437
10063
  config.goal = untrustedConfig_goal;
9438
10064
  }
9439
10065
  const untrustedConfig_timeRange = untrustedConfig.timeRange;
9440
- const referenceSemanticTimeRangeInputRepresentationValidationError = validate$d(untrustedConfig_timeRange);
10066
+ const referenceSemanticTimeRangeInputRepresentationValidationError = validate$c(untrustedConfig_timeRange);
9441
10067
  if (referenceSemanticTimeRangeInputRepresentationValidationError === null) {
9442
10068
  config.timeRange = untrustedConfig_timeRange;
9443
10069
  }
9444
10070
  return config;
9445
10071
  }
9446
- function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
10072
+ function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
9447
10073
  if (!untrustedIsObject(untrustedConfig)) {
9448
10074
  return null;
9449
10075
  }
9450
10076
  if (process.env.NODE_ENV !== 'production') {
9451
10077
  validateConfig(untrustedConfig, configPropertyNames);
9452
10078
  }
9453
- const config = typeCheckConfig$e(untrustedConfig);
10079
+ const config = typeCheckConfig$f(untrustedConfig);
9454
10080
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9455
10081
  return null;
9456
10082
  }
9457
10083
  return config;
9458
10084
  }
9459
- function buildNetworkSnapshot$e(luvio, config, options) {
9460
- const resourceParams = createResourceParams$e(config);
9461
- const request = createResourceRequest$e(resourceParams);
10085
+ function buildNetworkSnapshot$f(luvio, config, options) {
10086
+ const resourceParams = createResourceParams$f(config);
10087
+ const request = createResourceRequest$f(resourceParams);
9462
10088
  return luvio.dispatchResourceRequest(request, options)
9463
10089
  .then((response) => {
9464
10090
  return luvio.handleSuccessResponse(() => {
9465
- const snapshot = ingestSuccess$c(luvio, resourceParams, response);
10091
+ const snapshot = ingestSuccess$d(luvio, resourceParams, response);
9466
10092
  return luvio.storeBroadcast().then(() => snapshot);
9467
10093
  }, () => {
9468
10094
  const cache = new StoreKeyMap();
9469
- getResponseCacheKeys$e(cache, luvio, resourceParams, response.body);
10095
+ getResponseCacheKeys$f(cache, luvio, resourceParams, response.body);
9470
10096
  return cache;
9471
10097
  });
9472
10098
  }, (response) => {
@@ -9476,22 +10102,22 @@ function buildNetworkSnapshot$e(luvio, config, options) {
9476
10102
  }
9477
10103
  const createSemanticSubMetricAdapterFactory = (luvio) => {
9478
10104
  return function createSemanticSubMetric(untrustedConfig) {
9479
- const config = validateAdapterConfig$e(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
10105
+ const config = validateAdapterConfig$f(untrustedConfig, createSemanticSubMetric_ConfigPropertyNames);
9480
10106
  // Invalid or incomplete config
9481
10107
  if (config === null) {
9482
10108
  throw new Error('Invalid config for "createSemanticSubMetric"');
9483
10109
  }
9484
- return buildNetworkSnapshot$e(luvio, config);
10110
+ return buildNetworkSnapshot$f(luvio, config);
9485
10111
  };
9486
10112
  };
9487
10113
 
9488
- function keyBuilder$l(luvio, params) {
9489
- return keyBuilder$m(luvio, {
10114
+ function keyBuilder$n(luvio, params) {
10115
+ return keyBuilder$o(luvio, {
9490
10116
  name: params.urlParams.subMetricNameOrId
9491
10117
  });
9492
10118
  }
9493
- function getResponseCacheKeys$d(cacheKeyMap, luvio, resourceParams) {
9494
- const key = keyBuilder$l(luvio, resourceParams);
10119
+ function getResponseCacheKeys$e(cacheKeyMap, luvio, resourceParams) {
10120
+ const key = keyBuilder$n(luvio, resourceParams);
9495
10121
  cacheKeyMap.set(key, {
9496
10122
  namespace: keyPrefix,
9497
10123
  representationName: RepresentationType$6,
@@ -9499,10 +10125,10 @@ function getResponseCacheKeys$d(cacheKeyMap, luvio, resourceParams) {
9499
10125
  });
9500
10126
  }
9501
10127
  function evictSuccess$1(luvio, resourceParams) {
9502
- const key = keyBuilder$l(luvio, resourceParams);
10128
+ const key = keyBuilder$n(luvio, resourceParams);
9503
10129
  luvio.storeEvict(key);
9504
10130
  }
9505
- function createResourceRequest$d(config) {
10131
+ function createResourceRequest$e(config) {
9506
10132
  const headers = {};
9507
10133
  return {
9508
10134
  baseUri: '/services/data/v63.0',
@@ -9516,34 +10142,34 @@ function createResourceRequest$d(config) {
9516
10142
  };
9517
10143
  }
9518
10144
 
9519
- const adapterName$d = 'deleteGoalFromSubMetric';
10145
+ const adapterName$e = 'deleteGoalFromSubMetric';
9520
10146
  const deleteGoalFromSubMetric_ConfigPropertyMetadata = [
9521
10147
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9522
10148
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9523
10149
  ];
9524
- const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, deleteGoalFromSubMetric_ConfigPropertyMetadata);
9525
- const createResourceParams$d = /*#__PURE__*/ createResourceParams$g(deleteGoalFromSubMetric_ConfigPropertyMetadata);
9526
- function typeCheckConfig$d(untrustedConfig) {
10150
+ const deleteGoalFromSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, deleteGoalFromSubMetric_ConfigPropertyMetadata);
10151
+ const createResourceParams$e = /*#__PURE__*/ createResourceParams$i(deleteGoalFromSubMetric_ConfigPropertyMetadata);
10152
+ function typeCheckConfig$e(untrustedConfig) {
9527
10153
  const config = {};
9528
- typeCheckConfig$g(untrustedConfig, config, deleteGoalFromSubMetric_ConfigPropertyMetadata);
10154
+ typeCheckConfig$i(untrustedConfig, config, deleteGoalFromSubMetric_ConfigPropertyMetadata);
9529
10155
  return config;
9530
10156
  }
9531
- function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
10157
+ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
9532
10158
  if (!untrustedIsObject(untrustedConfig)) {
9533
10159
  return null;
9534
10160
  }
9535
10161
  if (process.env.NODE_ENV !== 'production') {
9536
10162
  validateConfig(untrustedConfig, configPropertyNames);
9537
10163
  }
9538
- const config = typeCheckConfig$d(untrustedConfig);
10164
+ const config = typeCheckConfig$e(untrustedConfig);
9539
10165
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9540
10166
  return null;
9541
10167
  }
9542
10168
  return config;
9543
10169
  }
9544
- function buildNetworkSnapshot$d(luvio, config, options) {
9545
- const resourceParams = createResourceParams$d(config);
9546
- const request = createResourceRequest$d(resourceParams);
10170
+ function buildNetworkSnapshot$e(luvio, config, options) {
10171
+ const resourceParams = createResourceParams$e(config);
10172
+ const request = createResourceRequest$e(resourceParams);
9547
10173
  return luvio.dispatchResourceRequest(request, options)
9548
10174
  .then(() => {
9549
10175
  return luvio.handleSuccessResponse(() => {
@@ -9551,7 +10177,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
9551
10177
  return luvio.storeBroadcast();
9552
10178
  }, () => {
9553
10179
  const cache = new StoreKeyMap();
9554
- getResponseCacheKeys$d(cache, luvio, resourceParams);
10180
+ getResponseCacheKeys$e(cache, luvio, resourceParams);
9555
10181
  return cache;
9556
10182
  });
9557
10183
  }, (response) => {
@@ -9561,22 +10187,22 @@ function buildNetworkSnapshot$d(luvio, config, options) {
9561
10187
  }
9562
10188
  const deleteGoalFromSubMetricAdapterFactory = (luvio) => {
9563
10189
  return function SemanticAuthoringdeleteGoalFromSubMetric(untrustedConfig) {
9564
- const config = validateAdapterConfig$d(untrustedConfig, deleteGoalFromSubMetric_ConfigPropertyNames);
10190
+ const config = validateAdapterConfig$e(untrustedConfig, deleteGoalFromSubMetric_ConfigPropertyNames);
9565
10191
  // Invalid or incomplete config
9566
10192
  if (config === null) {
9567
- throw new Error(`Invalid config for "${adapterName$d}"`);
10193
+ throw new Error(`Invalid config for "${adapterName$e}"`);
9568
10194
  }
9569
- return buildNetworkSnapshot$d(luvio, config);
10195
+ return buildNetworkSnapshot$e(luvio, config);
9570
10196
  };
9571
10197
  };
9572
10198
 
9573
- function keyBuilder$k(luvio, params) {
9574
- return keyBuilder$m(luvio, {
10199
+ function keyBuilder$m(luvio, params) {
10200
+ return keyBuilder$o(luvio, {
9575
10201
  name: params.urlParams.subMetricNameOrId
9576
10202
  });
9577
10203
  }
9578
- function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
9579
- const key = keyBuilder$k(luvio, resourceParams);
10204
+ function getResponseCacheKeys$d(cacheKeyMap, luvio, resourceParams) {
10205
+ const key = keyBuilder$m(luvio, resourceParams);
9580
10206
  cacheKeyMap.set(key, {
9581
10207
  namespace: keyPrefix,
9582
10208
  representationName: RepresentationType$6,
@@ -9584,10 +10210,10 @@ function getResponseCacheKeys$c(cacheKeyMap, luvio, resourceParams) {
9584
10210
  });
9585
10211
  }
9586
10212
  function evictSuccess(luvio, resourceParams) {
9587
- const key = keyBuilder$k(luvio, resourceParams);
10213
+ const key = keyBuilder$m(luvio, resourceParams);
9588
10214
  luvio.storeEvict(key);
9589
10215
  }
9590
- function createResourceRequest$c(config) {
10216
+ function createResourceRequest$d(config) {
9591
10217
  const headers = {};
9592
10218
  return {
9593
10219
  baseUri: '/services/data/v63.0',
@@ -9601,34 +10227,34 @@ function createResourceRequest$c(config) {
9601
10227
  };
9602
10228
  }
9603
10229
 
9604
- const adapterName$c = 'deleteSemanticSubMetric';
10230
+ const adapterName$d = 'deleteSemanticSubMetric';
9605
10231
  const deleteSemanticSubMetric_ConfigPropertyMetadata = [
9606
10232
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9607
10233
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
9608
10234
  ];
9609
- const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteSemanticSubMetric_ConfigPropertyMetadata);
9610
- const createResourceParams$c = /*#__PURE__*/ createResourceParams$g(deleteSemanticSubMetric_ConfigPropertyMetadata);
9611
- function typeCheckConfig$c(untrustedConfig) {
10235
+ const deleteSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, deleteSemanticSubMetric_ConfigPropertyMetadata);
10236
+ const createResourceParams$d = /*#__PURE__*/ createResourceParams$i(deleteSemanticSubMetric_ConfigPropertyMetadata);
10237
+ function typeCheckConfig$d(untrustedConfig) {
9612
10238
  const config = {};
9613
- typeCheckConfig$g(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
10239
+ typeCheckConfig$i(untrustedConfig, config, deleteSemanticSubMetric_ConfigPropertyMetadata);
9614
10240
  return config;
9615
10241
  }
9616
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
10242
+ function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
9617
10243
  if (!untrustedIsObject(untrustedConfig)) {
9618
10244
  return null;
9619
10245
  }
9620
10246
  if (process.env.NODE_ENV !== 'production') {
9621
10247
  validateConfig(untrustedConfig, configPropertyNames);
9622
10248
  }
9623
- const config = typeCheckConfig$c(untrustedConfig);
10249
+ const config = typeCheckConfig$d(untrustedConfig);
9624
10250
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
9625
10251
  return null;
9626
10252
  }
9627
10253
  return config;
9628
10254
  }
9629
- function buildNetworkSnapshot$c(luvio, config, options) {
9630
- const resourceParams = createResourceParams$c(config);
9631
- const request = createResourceRequest$c(resourceParams);
10255
+ function buildNetworkSnapshot$d(luvio, config, options) {
10256
+ const resourceParams = createResourceParams$d(config);
10257
+ const request = createResourceRequest$d(resourceParams);
9632
10258
  return luvio.dispatchResourceRequest(request, options)
9633
10259
  .then(() => {
9634
10260
  return luvio.handleSuccessResponse(() => {
@@ -9636,7 +10262,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
9636
10262
  return luvio.storeBroadcast();
9637
10263
  }, () => {
9638
10264
  const cache = new StoreKeyMap();
9639
- getResponseCacheKeys$c(cache, luvio, resourceParams);
10265
+ getResponseCacheKeys$d(cache, luvio, resourceParams);
9640
10266
  return cache;
9641
10267
  });
9642
10268
  }, (response) => {
@@ -9646,12 +10272,12 @@ function buildNetworkSnapshot$c(luvio, config, options) {
9646
10272
  }
9647
10273
  const deleteSemanticSubMetricAdapterFactory = (luvio) => {
9648
10274
  return function SemanticAuthoringdeleteSemanticSubMetric(untrustedConfig) {
9649
- const config = validateAdapterConfig$c(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
10275
+ const config = validateAdapterConfig$d(untrustedConfig, deleteSemanticSubMetric_ConfigPropertyNames);
9650
10276
  // Invalid or incomplete config
9651
10277
  if (config === null) {
9652
- throw new Error(`Invalid config for "${adapterName$c}"`);
10278
+ throw new Error(`Invalid config for "${adapterName$d}"`);
9653
10279
  }
9654
- return buildNetworkSnapshot$c(luvio, config);
10280
+ return buildNetworkSnapshot$d(luvio, config);
9655
10281
  };
9656
10282
  };
9657
10283
 
@@ -9690,7 +10316,7 @@ function validate$8(obj, path = 'SemanticDependencyOutputRepresentation') {
9690
10316
  })();
9691
10317
  return v_error === undefined ? null : v_error;
9692
10318
  }
9693
- const select$k = function SemanticDependencyOutputRepresentationSelect() {
10319
+ const select$l = function SemanticDependencyOutputRepresentationSelect() {
9694
10320
  return {
9695
10321
  kind: 'Fragment',
9696
10322
  version: VERSION$8,
@@ -9806,8 +10432,8 @@ function validate$7(obj, path = 'SemanticDependencyInnerCollectionOutputRepresen
9806
10432
  })();
9807
10433
  return v_error === undefined ? null : v_error;
9808
10434
  }
9809
- const select$j = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
9810
- const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$k();
10435
+ const select$k = function SemanticDependencyInnerCollectionOutputRepresentationSelect() {
10436
+ const { selections: SemanticDependencyOutputRepresentation__selections, opaque: SemanticDependencyOutputRepresentation__opaque, } = select$l();
9811
10437
  return {
9812
10438
  kind: 'Fragment',
9813
10439
  version: VERSION$7,
@@ -9911,8 +10537,8 @@ const RepresentationType$5 = 'SemanticDependencyCollectionOutputRepresentation';
9911
10537
  function normalize$5(input, existing, path, luvio, store, timestamp) {
9912
10538
  return input;
9913
10539
  }
9914
- const select$i = function SemanticDependencyCollectionOutputRepresentationSelect() {
9915
- const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$j();
10540
+ const select$j = function SemanticDependencyCollectionOutputRepresentationSelect() {
10541
+ const { selections: SemanticDependencyInnerCollectionOutputRepresentation__selections, opaque: SemanticDependencyInnerCollectionOutputRepresentation__opaque, } = select$k();
9916
10542
  return {
9917
10543
  kind: 'Fragment',
9918
10544
  version: VERSION$6,
@@ -9971,19 +10597,154 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
9971
10597
  });
9972
10598
  }
9973
10599
 
9974
- function select$h(luvio, params) {
10600
+ function select$i(luvio, params) {
10601
+ return select$j();
10602
+ }
10603
+ function keyBuilder$l(luvio, params) {
10604
+ return keyPrefix + '::SemanticDependencyCollectionOutputRepresentation:(' + 'types:' + params.queryParams.types + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
10605
+ }
10606
+ function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
10607
+ getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$l(luvio, resourceParams));
10608
+ }
10609
+ function ingestSuccess$c(luvio, resourceParams, response, snapshotRefresh) {
10610
+ const { body } = response;
10611
+ const key = keyBuilder$l(luvio, resourceParams);
10612
+ luvio.storeIngest(key, ingest$5, body);
10613
+ const snapshot = luvio.storeLookup({
10614
+ recordId: key,
10615
+ node: select$i(),
10616
+ variables: {},
10617
+ }, snapshotRefresh);
10618
+ if (process.env.NODE_ENV !== 'production') {
10619
+ if (snapshot.state !== 'Fulfilled') {
10620
+ throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
10621
+ }
10622
+ }
10623
+ deepFreeze(snapshot.data);
10624
+ return snapshot;
10625
+ }
10626
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
10627
+ const key = keyBuilder$l(luvio, params);
10628
+ const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
10629
+ luvio.storeIngestError(key, errorSnapshot);
10630
+ return errorSnapshot;
10631
+ }
10632
+ function createResourceRequest$c(config) {
10633
+ const headers = {};
10634
+ return {
10635
+ baseUri: '/services/data/v63.0',
10636
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/dependencies',
10637
+ method: 'get',
10638
+ body: null,
10639
+ urlParams: config.urlParams,
10640
+ queryParams: config.queryParams,
10641
+ headers,
10642
+ priority: 'normal',
10643
+ };
10644
+ }
10645
+
10646
+ const adapterName$c = 'getLeafDependenciesByTypes';
10647
+ const getLeafDependenciesByTypes_ConfigPropertyMetadata = [
10648
+ generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10649
+ generateParamConfigMetadata('types', false, 1 /* QueryParameter */, 0 /* String */, true),
10650
+ ];
10651
+ const getLeafDependenciesByTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getLeafDependenciesByTypes_ConfigPropertyMetadata);
10652
+ const createResourceParams$c = /*#__PURE__*/ createResourceParams$i(getLeafDependenciesByTypes_ConfigPropertyMetadata);
10653
+ function keyBuilder$k(luvio, config) {
10654
+ const resourceParams = createResourceParams$c(config);
10655
+ return keyBuilder$l(luvio, resourceParams);
10656
+ }
10657
+ function typeCheckConfig$c(untrustedConfig) {
10658
+ const config = {};
10659
+ typeCheckConfig$i(untrustedConfig, config, getLeafDependenciesByTypes_ConfigPropertyMetadata);
10660
+ return config;
10661
+ }
10662
+ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
10663
+ if (!untrustedIsObject(untrustedConfig)) {
10664
+ return null;
10665
+ }
10666
+ if (process.env.NODE_ENV !== 'production') {
10667
+ validateConfig(untrustedConfig, configPropertyNames);
10668
+ }
10669
+ const config = typeCheckConfig$c(untrustedConfig);
10670
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
10671
+ return null;
10672
+ }
10673
+ return config;
10674
+ }
10675
+ function adapterFragment$a(luvio, config) {
10676
+ createResourceParams$c(config);
9975
10677
  return select$i();
9976
10678
  }
10679
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
10680
+ const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
10681
+ config,
10682
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
10683
+ });
10684
+ return luvio.storeBroadcast().then(() => snapshot);
10685
+ }
10686
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
10687
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
10688
+ config,
10689
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
10690
+ });
10691
+ return luvio.storeBroadcast().then(() => snapshot);
10692
+ }
10693
+ function buildNetworkSnapshot$c(luvio, config, options) {
10694
+ const resourceParams = createResourceParams$c(config);
10695
+ const request = createResourceRequest$c(resourceParams);
10696
+ return luvio.dispatchResourceRequest(request, options)
10697
+ .then((response) => {
10698
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => {
10699
+ const cache = new StoreKeyMap();
10700
+ getResponseCacheKeys$c(cache, luvio, resourceParams, response.body);
10701
+ return cache;
10702
+ });
10703
+ }, (response) => {
10704
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
10705
+ });
10706
+ }
10707
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
10708
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
10709
+ }
10710
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
10711
+ const { luvio, config } = context;
10712
+ const selector = {
10713
+ recordId: keyBuilder$k(luvio, config),
10714
+ node: adapterFragment$a(luvio, config),
10715
+ variables: {},
10716
+ };
10717
+ const cacheSnapshot = storeLookup(selector, {
10718
+ config,
10719
+ resolve: () => buildNetworkSnapshot$c(luvio, config, snapshotRefreshOptions)
10720
+ });
10721
+ return cacheSnapshot;
10722
+ }
10723
+ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAuthoring__getLeafDependenciesByTypes(untrustedConfig, requestContext) {
10724
+ const config = validateAdapterConfig$c(untrustedConfig, getLeafDependenciesByTypes_ConfigPropertyNames);
10725
+ // Invalid or incomplete config
10726
+ if (config === null) {
10727
+ return null;
10728
+ }
10729
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
10730
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
10731
+ };
10732
+
10733
+ function select$h(luvio, params) {
10734
+ return select$O();
10735
+ }
9977
10736
  function keyBuilder$j(luvio, params) {
9978
- return keyPrefix + '::SemanticDependencyCollectionOutputRepresentation:(' + 'types:' + params.queryParams.types + ',' + 'modelApiNameOrId:' + params.urlParams.modelApiNameOrId + ')';
10737
+ return keyBuilder$A(luvio, {
10738
+ name: params.urlParams.modelApiNameOrId
10739
+ });
9979
10740
  }
9980
10741
  function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
9981
- getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$j(luvio, resourceParams));
10742
+ getTypeCacheKeys$i(storeKeyMap, luvio, response);
9982
10743
  }
9983
10744
  function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
9984
10745
  const { body } = response;
9985
10746
  const key = keyBuilder$j(luvio, resourceParams);
9986
- luvio.storeIngest(key, ingest$5, body);
10747
+ luvio.storeIngest(key, ingest$i, body);
9987
10748
  const snapshot = luvio.storeLookup({
9988
10749
  recordId: key,
9989
10750
  node: select$h(),
@@ -10007,7 +10768,7 @@ function createResourceRequest$b(config) {
10007
10768
  const headers = {};
10008
10769
  return {
10009
10770
  baseUri: '/services/data/v63.0',
10010
- basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/dependencies',
10771
+ basePath: '/ssot/semantic/models/' + config.urlParams.modelApiNameOrId + '/goals',
10011
10772
  method: 'get',
10012
10773
  body: null,
10013
10774
  urlParams: config.urlParams,
@@ -10016,21 +10777,31 @@ function createResourceRequest$b(config) {
10016
10777
  priority: 'normal',
10017
10778
  };
10018
10779
  }
10780
+ function createResourceRequestFromRepresentation$3(representation) {
10781
+ const config = {
10782
+ urlParams: {},
10783
+ queryParams: {},
10784
+ };
10785
+ config.urlParams.modelApiNameOrId = representation.id;
10786
+ return createResourceRequest$b(config);
10787
+ }
10019
10788
 
10020
- const adapterName$b = 'getLeafDependenciesByTypes';
10021
- const getLeafDependenciesByTypes_ConfigPropertyMetadata = [
10789
+ const adapterName$b = 'getSemanticGoal';
10790
+ const getSemanticGoal_ConfigPropertyMetadata = [
10022
10791
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10023
- generateParamConfigMetadata('types', false, 1 /* QueryParameter */, 0 /* String */, true),
10792
+ generateParamConfigMetadata('endDate', false, 1 /* QueryParameter */, 0 /* String */),
10793
+ generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
10794
+ generateParamConfigMetadata('subMetricApiNameOrId', false, 1 /* QueryParameter */, 0 /* String */),
10024
10795
  ];
10025
- const getLeafDependenciesByTypes_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getLeafDependenciesByTypes_ConfigPropertyMetadata);
10026
- const createResourceParams$b = /*#__PURE__*/ createResourceParams$g(getLeafDependenciesByTypes_ConfigPropertyMetadata);
10796
+ const getSemanticGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getSemanticGoal_ConfigPropertyMetadata);
10797
+ const createResourceParams$b = /*#__PURE__*/ createResourceParams$i(getSemanticGoal_ConfigPropertyMetadata);
10027
10798
  function keyBuilder$i(luvio, config) {
10028
10799
  const resourceParams = createResourceParams$b(config);
10029
10800
  return keyBuilder$j(luvio, resourceParams);
10030
10801
  }
10031
10802
  function typeCheckConfig$b(untrustedConfig) {
10032
10803
  const config = {};
10033
- typeCheckConfig$g(untrustedConfig, config, getLeafDependenciesByTypes_ConfigPropertyMetadata);
10804
+ typeCheckConfig$i(untrustedConfig, config, getSemanticGoal_ConfigPropertyMetadata);
10034
10805
  return config;
10035
10806
  }
10036
10807
  function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
@@ -10079,7 +10850,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
10079
10850
  });
10080
10851
  }
10081
10852
  function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
10082
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
10853
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
10083
10854
  }
10084
10855
  function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
10085
10856
  const { luvio, config } = context;
@@ -10094,8 +10865,8 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
10094
10865
  });
10095
10866
  return cacheSnapshot;
10096
10867
  }
10097
- const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAuthoring__getLeafDependenciesByTypes(untrustedConfig, requestContext) {
10098
- const config = validateAdapterConfig$b(untrustedConfig, getLeafDependenciesByTypes_ConfigPropertyNames);
10868
+ const getSemanticGoalAdapterFactory = (luvio) => function SemanticAuthoring__getSemanticGoal(untrustedConfig, requestContext) {
10869
+ const config = validateAdapterConfig$b(untrustedConfig, getSemanticGoal_ConfigPropertyNames);
10099
10870
  // Invalid or incomplete config
10100
10871
  if (config === null) {
10101
10872
  return null;
@@ -10103,12 +10874,41 @@ const getLeafDependenciesByTypesAdapterFactory = (luvio) => function SemanticAut
10103
10874
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
10104
10875
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
10105
10876
  };
10877
+ const notifyChangeFactory$3 = (luvio, options) => {
10878
+ return function getSsotSemanticModelsGoalsByModelApiNameOrIdNotifyChange(configs) {
10879
+ const keys = configs.map(c => keyBuilder$A(luvio, c));
10880
+ luvio.getNotifyChangeStoreEntries(keys).then(entries => {
10881
+ for (let i = 0, len = entries.length; i < len; i++) {
10882
+ const { key, record: val } = entries[i];
10883
+ const refreshRequest = createResourceRequestFromRepresentation$3(val);
10884
+ luvio.dispatchResourceRequest(refreshRequest, options)
10885
+ .then((response) => {
10886
+ return luvio.handleSuccessResponse(() => {
10887
+ const { body } = response;
10888
+ luvio.storeIngest(key, ingest$i, body);
10889
+ return luvio.storeBroadcast();
10890
+ }, () => {
10891
+ const cache = new StoreKeyMap();
10892
+ getTypeCacheKeys$i(cache, luvio, response.body);
10893
+ return cache;
10894
+ });
10895
+ }, (error) => {
10896
+ return luvio.handleErrorResponse(() => {
10897
+ const errorSnapshot = luvio.errorSnapshot(error);
10898
+ luvio.storeIngestError(key, errorSnapshot, undefined);
10899
+ return luvio.storeBroadcast().then(() => errorSnapshot);
10900
+ });
10901
+ });
10902
+ }
10903
+ });
10904
+ };
10905
+ };
10106
10906
 
10107
10907
  function select$g(luvio, params) {
10108
- return select$r();
10908
+ return select$s();
10109
10909
  }
10110
10910
  function keyBuilder$h(luvio, params) {
10111
- return keyBuilder$p(luvio, {
10911
+ return keyBuilder$r(luvio, {
10112
10912
  name: params.urlParams.metricNameOrId
10113
10913
  });
10114
10914
  }
@@ -10165,14 +10965,14 @@ const getSemanticMetric_ConfigPropertyMetadata = [
10165
10965
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10166
10966
  ];
10167
10967
  const getSemanticMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSemanticMetric_ConfigPropertyMetadata);
10168
- const createResourceParams$a = /*#__PURE__*/ createResourceParams$g(getSemanticMetric_ConfigPropertyMetadata);
10968
+ const createResourceParams$a = /*#__PURE__*/ createResourceParams$i(getSemanticMetric_ConfigPropertyMetadata);
10169
10969
  function keyBuilder$g(luvio, config) {
10170
10970
  const resourceParams = createResourceParams$a(config);
10171
10971
  return keyBuilder$h(luvio, resourceParams);
10172
10972
  }
10173
10973
  function typeCheckConfig$a(untrustedConfig) {
10174
10974
  const config = {};
10175
- typeCheckConfig$g(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
10975
+ typeCheckConfig$i(untrustedConfig, config, getSemanticMetric_ConfigPropertyMetadata);
10176
10976
  return config;
10177
10977
  }
10178
10978
  function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
@@ -10221,7 +11021,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
10221
11021
  });
10222
11022
  }
10223
11023
  function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
10224
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
11024
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
10225
11025
  }
10226
11026
  function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
10227
11027
  const { luvio, config } = context;
@@ -10247,7 +11047,7 @@ const getSemanticMetricAdapterFactory = (luvio) => function SemanticAuthoring__g
10247
11047
  };
10248
11048
  const notifyChangeFactory$2 = (luvio, options) => {
10249
11049
  return function getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrIdNotifyChange(configs) {
10250
- const keys = configs.map(c => keyBuilder$p(luvio, c));
11050
+ const keys = configs.map(c => keyBuilder$r(luvio, c));
10251
11051
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
10252
11052
  for (let i = 0, len = entries.length; i < len; i++) {
10253
11053
  const { key, record: val } = entries[i];
@@ -10331,7 +11131,7 @@ const select$f = function SemanticMetricCollectionOutputRepresentationSelect() {
10331
11131
  kind: 'Link',
10332
11132
  plural: true,
10333
11133
  required: false,
10334
- fragment: select$r()
11134
+ fragment: select$s()
10335
11135
  }
10336
11136
  ]
10337
11137
  };
@@ -10436,14 +11236,14 @@ const getSemanticMetrics_ConfigPropertyMetadata = [
10436
11236
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10437
11237
  ];
10438
11238
  const getSemanticMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSemanticMetrics_ConfigPropertyMetadata);
10439
- const createResourceParams$9 = /*#__PURE__*/ createResourceParams$g(getSemanticMetrics_ConfigPropertyMetadata);
11239
+ const createResourceParams$9 = /*#__PURE__*/ createResourceParams$i(getSemanticMetrics_ConfigPropertyMetadata);
10440
11240
  function keyBuilder$e(luvio, config) {
10441
11241
  const resourceParams = createResourceParams$9(config);
10442
11242
  return keyBuilder$f(luvio, resourceParams);
10443
11243
  }
10444
11244
  function typeCheckConfig$9(untrustedConfig) {
10445
11245
  const config = {};
10446
- typeCheckConfig$g(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
11246
+ typeCheckConfig$i(untrustedConfig, config, getSemanticMetrics_ConfigPropertyMetadata);
10447
11247
  return config;
10448
11248
  }
10449
11249
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -10492,7 +11292,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
10492
11292
  });
10493
11293
  }
10494
11294
  function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
10495
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
11295
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
10496
11296
  }
10497
11297
  function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
10498
11298
  const { luvio, config } = context;
@@ -10570,14 +11370,14 @@ const getSemanticMetricsByIds_ConfigPropertyMetadata = [
10570
11370
  generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
10571
11371
  ];
10572
11372
  const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getSemanticMetricsByIds_ConfigPropertyMetadata);
10573
- const createResourceParams$8 = /*#__PURE__*/ createResourceParams$g(getSemanticMetricsByIds_ConfigPropertyMetadata);
11373
+ const createResourceParams$8 = /*#__PURE__*/ createResourceParams$i(getSemanticMetricsByIds_ConfigPropertyMetadata);
10574
11374
  function keyBuilder$c(luvio, config) {
10575
11375
  const resourceParams = createResourceParams$8(config);
10576
11376
  return keyBuilder$d(luvio, resourceParams);
10577
11377
  }
10578
11378
  function typeCheckConfig$8(untrustedConfig) {
10579
11379
  const config = {};
10580
- typeCheckConfig$g(untrustedConfig, config, getSemanticMetricsByIds_ConfigPropertyMetadata);
11380
+ typeCheckConfig$i(untrustedConfig, config, getSemanticMetricsByIds_ConfigPropertyMetadata);
10581
11381
  return config;
10582
11382
  }
10583
11383
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -10626,7 +11426,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
10626
11426
  });
10627
11427
  }
10628
11428
  function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
10629
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
11429
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
10630
11430
  }
10631
11431
  function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
10632
11432
  const { luvio, config } = context;
@@ -10719,7 +11519,7 @@ const select$c = function SemanticSubMetricsByMetricOutputRepresentationSelect()
10719
11519
  kind: 'Link',
10720
11520
  plural: true,
10721
11521
  required: false,
10722
- fragment: select$m()
11522
+ fragment: select$n()
10723
11523
  }
10724
11524
  ]
10725
11525
  };
@@ -10948,14 +11748,14 @@ const getSemanticMetricsToSubMetrics_ConfigPropertyMetadata = [
10948
11748
  generateParamConfigMetadata('modelApiNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
10949
11749
  ];
10950
11750
  const getSemanticMetricsToSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10951
- const createResourceParams$7 = /*#__PURE__*/ createResourceParams$g(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
11751
+ const createResourceParams$7 = /*#__PURE__*/ createResourceParams$i(getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10952
11752
  function keyBuilder$a(luvio, config) {
10953
11753
  const resourceParams = createResourceParams$7(config);
10954
11754
  return keyBuilder$b(luvio, resourceParams);
10955
11755
  }
10956
11756
  function typeCheckConfig$7(untrustedConfig) {
10957
11757
  const config = {};
10958
- typeCheckConfig$g(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
11758
+ typeCheckConfig$i(untrustedConfig, config, getSemanticMetricsToSubMetrics_ConfigPropertyMetadata);
10959
11759
  return config;
10960
11760
  }
10961
11761
  function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
@@ -11004,7 +11804,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
11004
11804
  });
11005
11805
  }
11006
11806
  function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
11007
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
11807
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
11008
11808
  }
11009
11809
  function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
11010
11810
  const { luvio, config } = context;
@@ -11030,10 +11830,10 @@ const getSemanticMetricsToSubMetricsAdapterFactory = (luvio) => function Semanti
11030
11830
  };
11031
11831
 
11032
11832
  function select$9(luvio, params) {
11033
- return select$o();
11833
+ return select$p();
11034
11834
  }
11035
11835
  function keyBuilder$9(luvio, params) {
11036
- return keyBuilder$n(luvio, {
11836
+ return keyBuilder$p(luvio, {
11037
11837
  name: params.urlParams.modelApiNameOrId
11038
11838
  });
11039
11839
  }
@@ -11093,14 +11893,14 @@ const getSemanticModel_ConfigPropertyMetadata = [
11093
11893
  generateParamConfigMetadata('includeTableKeys', false, 1 /* QueryParameter */, 1 /* Boolean */),
11094
11894
  ];
11095
11895
  const getSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getSemanticModel_ConfigPropertyMetadata);
11096
- const createResourceParams$6 = /*#__PURE__*/ createResourceParams$g(getSemanticModel_ConfigPropertyMetadata);
11896
+ const createResourceParams$6 = /*#__PURE__*/ createResourceParams$i(getSemanticModel_ConfigPropertyMetadata);
11097
11897
  function keyBuilder$8(luvio, config) {
11098
11898
  const resourceParams = createResourceParams$6(config);
11099
11899
  return keyBuilder$9(luvio, resourceParams);
11100
11900
  }
11101
11901
  function typeCheckConfig$6(untrustedConfig) {
11102
11902
  const config = {};
11103
- typeCheckConfig$g(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
11903
+ typeCheckConfig$i(untrustedConfig, config, getSemanticModel_ConfigPropertyMetadata);
11104
11904
  return config;
11105
11905
  }
11106
11906
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -11149,7 +11949,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
11149
11949
  });
11150
11950
  }
11151
11951
  function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
11152
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
11952
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
11153
11953
  }
11154
11954
  function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
11155
11955
  const { luvio, config } = context;
@@ -11175,7 +11975,7 @@ const getSemanticModelAdapterFactory = (luvio) => function SemanticAuthoring__ge
11175
11975
  };
11176
11976
  const notifyChangeFactory$1 = (luvio, options) => {
11177
11977
  return function getSsotSemanticModelsByModelApiNameOrIdNotifyChange(configs) {
11178
- const keys = configs.map(c => keyBuilder$n(luvio, c));
11978
+ const keys = configs.map(c => keyBuilder$p(luvio, c));
11179
11979
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
11180
11980
  for (let i = 0, len = entries.length; i < len; i++) {
11181
11981
  const { key, record: val } = entries[i];
@@ -11237,7 +12037,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
11237
12037
  for (let i = 0; i < obj_baseModels.length; i++) {
11238
12038
  const obj_baseModels_item = obj_baseModels[i];
11239
12039
  const path_baseModels_item = path_baseModels + '[' + i + ']';
11240
- const referencepath_baseModels_itemValidationError = validate$F(obj_baseModels_item, path_baseModels_item);
12040
+ const referencepath_baseModels_itemValidationError = validate$D(obj_baseModels_item, path_baseModels_item);
11241
12041
  if (referencepath_baseModels_itemValidationError !== null) {
11242
12042
  let message = 'Object doesn\'t match SemanticBaseModelOutputRepresentation (at "' + path_baseModels_item + '")\n';
11243
12043
  message += referencepath_baseModels_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -11409,7 +12209,7 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
11409
12209
  return v_error === undefined ? null : v_error;
11410
12210
  }
11411
12211
  const select$8 = function SemanticModelPartialOutputRepresentationSelect() {
11412
- const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$L();
12212
+ const { selections: SemanticBaseModelOutputRepresentation__selections, opaque: SemanticBaseModelOutputRepresentation__opaque, } = select$M();
11413
12213
  return {
11414
12214
  kind: 'Fragment',
11415
12215
  version: VERSION$2,
@@ -12137,14 +12937,14 @@ const getSemanticModels_ConfigPropertyMetadata = [
12137
12937
  generateParamConfigMetadata('sourceCreationName', false, 1 /* QueryParameter */, 0 /* String */),
12138
12938
  ];
12139
12939
  const getSemanticModels_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSemanticModels_ConfigPropertyMetadata);
12140
- const createResourceParams$5 = /*#__PURE__*/ createResourceParams$g(getSemanticModels_ConfigPropertyMetadata);
12940
+ const createResourceParams$5 = /*#__PURE__*/ createResourceParams$i(getSemanticModels_ConfigPropertyMetadata);
12141
12941
  function keyBuilder$6(luvio, config) {
12142
12942
  const resourceParams = createResourceParams$5(config);
12143
12943
  return keyBuilder$7(luvio, resourceParams);
12144
12944
  }
12145
12945
  function typeCheckConfig$5(untrustedConfig) {
12146
12946
  const config = {};
12147
- typeCheckConfig$g(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
12947
+ typeCheckConfig$i(untrustedConfig, config, getSemanticModels_ConfigPropertyMetadata);
12148
12948
  return config;
12149
12949
  }
12150
12950
  function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
@@ -12193,7 +12993,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
12193
12993
  });
12194
12994
  }
12195
12995
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
12196
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
12996
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
12197
12997
  }
12198
12998
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
12199
12999
  const { luvio, config } = context;
@@ -12219,10 +13019,10 @@ const getSemanticModelsAdapterFactory = (luvio) => function SemanticAuthoring__g
12219
13019
  };
12220
13020
 
12221
13021
  function select$5(luvio, params) {
12222
- return select$m();
13022
+ return select$n();
12223
13023
  }
12224
13024
  function keyBuilder$5(luvio, params) {
12225
- return keyBuilder$m(luvio, {
13025
+ return keyBuilder$o(luvio, {
12226
13026
  name: params.urlParams.subMetricNameOrId
12227
13027
  });
12228
13028
  }
@@ -12279,14 +13079,14 @@ const getSemanticSubMetric_ConfigPropertyMetadata = [
12279
13079
  generateParamConfigMetadata('subMetricNameOrId', true, 0 /* UrlParameter */, 0 /* String */),
12280
13080
  ];
12281
13081
  const getSemanticSubMetric_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getSemanticSubMetric_ConfigPropertyMetadata);
12282
- const createResourceParams$4 = /*#__PURE__*/ createResourceParams$g(getSemanticSubMetric_ConfigPropertyMetadata);
13082
+ const createResourceParams$4 = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetric_ConfigPropertyMetadata);
12283
13083
  function keyBuilder$4(luvio, config) {
12284
13084
  const resourceParams = createResourceParams$4(config);
12285
13085
  return keyBuilder$5(luvio, resourceParams);
12286
13086
  }
12287
13087
  function typeCheckConfig$4(untrustedConfig) {
12288
13088
  const config = {};
12289
- typeCheckConfig$g(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
13089
+ typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetric_ConfigPropertyMetadata);
12290
13090
  return config;
12291
13091
  }
12292
13092
  function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
@@ -12335,7 +13135,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
12335
13135
  });
12336
13136
  }
12337
13137
  function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
12338
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
13138
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
12339
13139
  }
12340
13140
  function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
12341
13141
  const { luvio, config } = context;
@@ -12361,7 +13161,7 @@ const getSemanticSubMetricAdapterFactory = (luvio) => function SemanticAuthoring
12361
13161
  };
12362
13162
  const notifyChangeFactory = (luvio, options) => {
12363
13163
  return function getSsotSemanticModelsSubMetricsByModelApiNameOrIdAndSubMetricNameOrIdNotifyChange(configs) {
12364
- const keys = configs.map(c => keyBuilder$m(luvio, c));
13164
+ const keys = configs.map(c => keyBuilder$o(luvio, c));
12365
13165
  luvio.getNotifyChangeStoreEntries(keys).then(entries => {
12366
13166
  for (let i = 0, len = entries.length; i < len; i++) {
12367
13167
  const { key, record: val } = entries[i];
@@ -12445,7 +13245,7 @@ const select$4 = function SemanticSubMetricCollectionOutputRepresentationSelect(
12445
13245
  kind: 'Link',
12446
13246
  plural: true,
12447
13247
  required: false,
12448
- fragment: select$m()
13248
+ fragment: select$n()
12449
13249
  }
12450
13250
  ]
12451
13251
  };
@@ -12551,14 +13351,14 @@ const getSemanticSubMetrics_ConfigPropertyMetadata = [
12551
13351
  generateParamConfigMetadata('hasGoal', false, 1 /* QueryParameter */, 1 /* Boolean */),
12552
13352
  ];
12553
13353
  const getSemanticSubMetrics_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getSemanticSubMetrics_ConfigPropertyMetadata);
12554
- const createResourceParams$3 = /*#__PURE__*/ createResourceParams$g(getSemanticSubMetrics_ConfigPropertyMetadata);
13354
+ const createResourceParams$3 = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetrics_ConfigPropertyMetadata);
12555
13355
  function keyBuilder$2(luvio, config) {
12556
13356
  const resourceParams = createResourceParams$3(config);
12557
13357
  return keyBuilder$3(luvio, resourceParams);
12558
13358
  }
12559
13359
  function typeCheckConfig$3(untrustedConfig) {
12560
13360
  const config = {};
12561
- typeCheckConfig$g(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
13361
+ typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetrics_ConfigPropertyMetadata);
12562
13362
  return config;
12563
13363
  }
12564
13364
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -12607,7 +13407,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
12607
13407
  });
12608
13408
  }
12609
13409
  function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
12610
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
13410
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
12611
13411
  }
12612
13412
  function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
12613
13413
  const { luvio, config } = context;
@@ -12685,14 +13485,14 @@ const getSemanticSubMetricsById_ConfigPropertyMetadata = [
12685
13485
  generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
12686
13486
  ];
12687
13487
  const getSemanticSubMetricsById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getSemanticSubMetricsById_ConfigPropertyMetadata);
12688
- const createResourceParams$2 = /*#__PURE__*/ createResourceParams$g(getSemanticSubMetricsById_ConfigPropertyMetadata);
13488
+ const createResourceParams$2 = /*#__PURE__*/ createResourceParams$i(getSemanticSubMetricsById_ConfigPropertyMetadata);
12689
13489
  function keyBuilder(luvio, config) {
12690
13490
  const resourceParams = createResourceParams$2(config);
12691
13491
  return keyBuilder$1(luvio, resourceParams);
12692
13492
  }
12693
13493
  function typeCheckConfig$2(untrustedConfig) {
12694
13494
  const config = {};
12695
- typeCheckConfig$g(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
13495
+ typeCheckConfig$i(untrustedConfig, config, getSemanticSubMetricsById_ConfigPropertyMetadata);
12696
13496
  return config;
12697
13497
  }
12698
13498
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -12741,7 +13541,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
12741
13541
  });
12742
13542
  }
12743
13543
  function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
12744
- return buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
13544
+ return buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
12745
13545
  }
12746
13546
  function buildCachedSnapshotCachePolicy(context, storeLookup) {
12747
13547
  const { luvio, config } = context;
@@ -12767,7 +13567,7 @@ const getSemanticSubMetricsByIdAdapterFactory = (luvio) => function SemanticAuth
12767
13567
  };
12768
13568
 
12769
13569
  function select$1(luvio, params) {
12770
- return select$m();
13570
+ return select$n();
12771
13571
  }
12772
13572
  function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
12773
13573
  getTypeCacheKeys$6(storeKeyMap, luvio, response);
@@ -12811,16 +13611,16 @@ const patchSemanticMetricGoal_ConfigPropertyMetadata = [
12811
13611
  generateParamConfigMetadata('statusConditions', false, 2 /* Body */, 4 /* Unsupported */, true),
12812
13612
  ];
12813
13613
  const patchSemanticMetricGoal_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, patchSemanticMetricGoal_ConfigPropertyMetadata);
12814
- const createResourceParams$1 = /*#__PURE__*/ createResourceParams$g(patchSemanticMetricGoal_ConfigPropertyMetadata);
13614
+ const createResourceParams$1 = /*#__PURE__*/ createResourceParams$i(patchSemanticMetricGoal_ConfigPropertyMetadata);
12815
13615
  function typeCheckConfig$1(untrustedConfig) {
12816
13616
  const config = {};
12817
- typeCheckConfig$g(untrustedConfig, config, patchSemanticMetricGoal_ConfigPropertyMetadata);
13617
+ typeCheckConfig$i(untrustedConfig, config, patchSemanticMetricGoal_ConfigPropertyMetadata);
12818
13618
  const untrustedConfig_statusConditions = untrustedConfig.statusConditions;
12819
13619
  if (ArrayIsArray$1(untrustedConfig_statusConditions)) {
12820
13620
  const untrustedConfig_statusConditions_array = [];
12821
13621
  for (let i = 0, arrayLength = untrustedConfig_statusConditions.length; i < arrayLength; i++) {
12822
13622
  const untrustedConfig_statusConditions_item = untrustedConfig_statusConditions[i];
12823
- const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$f(untrustedConfig_statusConditions_item);
13623
+ const referenceSemanticGoalStatusConditionInputRepresentationValidationError = validate$13(untrustedConfig_statusConditions_item);
12824
13624
  if (referenceSemanticGoalStatusConditionInputRepresentationValidationError === null) {
12825
13625
  untrustedConfig_statusConditions_array.push(untrustedConfig_statusConditions_item);
12826
13626
  }
@@ -12872,7 +13672,7 @@ const patchSemanticMetricGoalAdapterFactory = (luvio) => {
12872
13672
  };
12873
13673
 
12874
13674
  function select(luvio, params) {
12875
- return select$o();
13675
+ return select$p();
12876
13676
  }
12877
13677
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
12878
13678
  getTypeCacheKeys$7(storeKeyMap, luvio, response);
@@ -12931,16 +13731,16 @@ const patchSemanticModel_ConfigPropertyMetadata = [
12931
13731
  generateParamConfigMetadata('semanticRelationships', false, 2 /* Body */, 4 /* Unsupported */, true),
12932
13732
  ];
12933
13733
  const patchSemanticModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, patchSemanticModel_ConfigPropertyMetadata);
12934
- const createResourceParams = /*#__PURE__*/ createResourceParams$g(patchSemanticModel_ConfigPropertyMetadata);
13734
+ const createResourceParams = /*#__PURE__*/ createResourceParams$i(patchSemanticModel_ConfigPropertyMetadata);
12935
13735
  function typeCheckConfig(untrustedConfig) {
12936
13736
  const config = {};
12937
- typeCheckConfig$g(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
13737
+ typeCheckConfig$i(untrustedConfig, config, patchSemanticModel_ConfigPropertyMetadata);
12938
13738
  const untrustedConfig_baseModels = untrustedConfig.baseModels;
12939
13739
  if (ArrayIsArray$1(untrustedConfig_baseModels)) {
12940
13740
  const untrustedConfig_baseModels_array = [];
12941
13741
  for (let i = 0, arrayLength = untrustedConfig_baseModels.length; i < arrayLength; i++) {
12942
13742
  const untrustedConfig_baseModels_item = untrustedConfig_baseModels[i];
12943
- const referenceSemanticBaseModelInputRepresentationValidationError = validate$11(untrustedConfig_baseModels_item);
13743
+ const referenceSemanticBaseModelInputRepresentationValidationError = validate$$(untrustedConfig_baseModels_item);
12944
13744
  if (referenceSemanticBaseModelInputRepresentationValidationError === null) {
12945
13745
  untrustedConfig_baseModels_array.push(untrustedConfig_baseModels_item);
12946
13746
  }
@@ -12952,7 +13752,7 @@ function typeCheckConfig(untrustedConfig) {
12952
13752
  const untrustedConfig_semanticCalculatedDimensions_array = [];
12953
13753
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedDimensions.length; i < arrayLength; i++) {
12954
13754
  const untrustedConfig_semanticCalculatedDimensions_item = untrustedConfig_semanticCalculatedDimensions[i];
12955
- const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$$(untrustedConfig_semanticCalculatedDimensions_item);
13755
+ const referenceSemanticCalculatedDimensionInputRepresentationValidationError = validate$Z(untrustedConfig_semanticCalculatedDimensions_item);
12956
13756
  if (referenceSemanticCalculatedDimensionInputRepresentationValidationError === null) {
12957
13757
  untrustedConfig_semanticCalculatedDimensions_array.push(untrustedConfig_semanticCalculatedDimensions_item);
12958
13758
  }
@@ -12964,7 +13764,7 @@ function typeCheckConfig(untrustedConfig) {
12964
13764
  const untrustedConfig_semanticCalculatedMeasurements_array = [];
12965
13765
  for (let i = 0, arrayLength = untrustedConfig_semanticCalculatedMeasurements.length; i < arrayLength; i++) {
12966
13766
  const untrustedConfig_semanticCalculatedMeasurements_item = untrustedConfig_semanticCalculatedMeasurements[i];
12967
- const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$_(untrustedConfig_semanticCalculatedMeasurements_item);
13767
+ const referenceSemanticCalculatedMeasurementInputRepresentationValidationError = validate$Y(untrustedConfig_semanticCalculatedMeasurements_item);
12968
13768
  if (referenceSemanticCalculatedMeasurementInputRepresentationValidationError === null) {
12969
13769
  untrustedConfig_semanticCalculatedMeasurements_array.push(untrustedConfig_semanticCalculatedMeasurements_item);
12970
13770
  }
@@ -12976,7 +13776,7 @@ function typeCheckConfig(untrustedConfig) {
12976
13776
  const untrustedConfig_semanticDataObjects_array = [];
12977
13777
  for (let i = 0, arrayLength = untrustedConfig_semanticDataObjects.length; i < arrayLength; i++) {
12978
13778
  const untrustedConfig_semanticDataObjects_item = untrustedConfig_semanticDataObjects[i];
12979
- const referenceSemanticDataObjectInputRepresentationValidationError = validate$X(untrustedConfig_semanticDataObjects_item);
13779
+ const referenceSemanticDataObjectInputRepresentationValidationError = validate$V(untrustedConfig_semanticDataObjects_item);
12980
13780
  if (referenceSemanticDataObjectInputRepresentationValidationError === null) {
12981
13781
  untrustedConfig_semanticDataObjects_array.push(untrustedConfig_semanticDataObjects_item);
12982
13782
  }
@@ -12988,7 +13788,7 @@ function typeCheckConfig(untrustedConfig) {
12988
13788
  const untrustedConfig_semanticGroupings_array = [];
12989
13789
  for (let i = 0, arrayLength = untrustedConfig_semanticGroupings.length; i < arrayLength; i++) {
12990
13790
  const untrustedConfig_semanticGroupings_item = untrustedConfig_semanticGroupings[i];
12991
- const referenceSemanticGroupingInputRepresentationValidationError = validate$Q(untrustedConfig_semanticGroupings_item);
13791
+ const referenceSemanticGroupingInputRepresentationValidationError = validate$O(untrustedConfig_semanticGroupings_item);
12992
13792
  if (referenceSemanticGroupingInputRepresentationValidationError === null) {
12993
13793
  untrustedConfig_semanticGroupings_array.push(untrustedConfig_semanticGroupings_item);
12994
13794
  }
@@ -13000,7 +13800,7 @@ function typeCheckConfig(untrustedConfig) {
13000
13800
  const untrustedConfig_semanticLogicalViews_array = [];
13001
13801
  for (let i = 0, arrayLength = untrustedConfig_semanticLogicalViews.length; i < arrayLength; i++) {
13002
13802
  const untrustedConfig_semanticLogicalViews_item = untrustedConfig_semanticLogicalViews[i];
13003
- const referenceSemanticLogicalViewInputRepresentationValidationError = validate$L(untrustedConfig_semanticLogicalViews_item);
13803
+ const referenceSemanticLogicalViewInputRepresentationValidationError = validate$J(untrustedConfig_semanticLogicalViews_item);
13004
13804
  if (referenceSemanticLogicalViewInputRepresentationValidationError === null) {
13005
13805
  untrustedConfig_semanticLogicalViews_array.push(untrustedConfig_semanticLogicalViews_item);
13006
13806
  }
@@ -13012,7 +13812,7 @@ function typeCheckConfig(untrustedConfig) {
13012
13812
  const untrustedConfig_semanticMetrics_array = [];
13013
13813
  for (let i = 0, arrayLength = untrustedConfig_semanticMetrics.length; i < arrayLength; i++) {
13014
13814
  const untrustedConfig_semanticMetrics_item = untrustedConfig_semanticMetrics[i];
13015
- const referenceSemanticMetricInputRepresentationValidationError = validate$H(untrustedConfig_semanticMetrics_item);
13815
+ const referenceSemanticMetricInputRepresentationValidationError = validate$F(untrustedConfig_semanticMetrics_item);
13016
13816
  if (referenceSemanticMetricInputRepresentationValidationError === null) {
13017
13817
  untrustedConfig_semanticMetrics_array.push(untrustedConfig_semanticMetrics_item);
13018
13818
  }
@@ -13024,7 +13824,7 @@ function typeCheckConfig(untrustedConfig) {
13024
13824
  const untrustedConfig_semanticParameters_array = [];
13025
13825
  for (let i = 0, arrayLength = untrustedConfig_semanticParameters.length; i < arrayLength; i++) {
13026
13826
  const untrustedConfig_semanticParameters_item = untrustedConfig_semanticParameters[i];
13027
- const referenceSemanticParameterInputRepresentationValidationError = validate$G(untrustedConfig_semanticParameters_item);
13827
+ const referenceSemanticParameterInputRepresentationValidationError = validate$E(untrustedConfig_semanticParameters_item);
13028
13828
  if (referenceSemanticParameterInputRepresentationValidationError === null) {
13029
13829
  untrustedConfig_semanticParameters_array.push(untrustedConfig_semanticParameters_item);
13030
13830
  }
@@ -13036,7 +13836,7 @@ function typeCheckConfig(untrustedConfig) {
13036
13836
  const untrustedConfig_semanticRelationships_array = [];
13037
13837
  for (let i = 0, arrayLength = untrustedConfig_semanticRelationships.length; i < arrayLength; i++) {
13038
13838
  const untrustedConfig_semanticRelationships_item = untrustedConfig_semanticRelationships[i];
13039
- const referenceSemanticRelationshipInputRepresentationValidationError = validate$O(untrustedConfig_semanticRelationships_item);
13839
+ const referenceSemanticRelationshipInputRepresentationValidationError = validate$M(untrustedConfig_semanticRelationships_item);
13040
13840
  if (referenceSemanticRelationshipInputRepresentationValidationError === null) {
13041
13841
  untrustedConfig_semanticRelationships_array.push(untrustedConfig_semanticRelationships_item);
13042
13842
  }
@@ -13087,11 +13887,14 @@ const patchSemanticModelAdapterFactory = (luvio) => {
13087
13887
  };
13088
13888
  };
13089
13889
 
13890
+ let createSemanticGoal;
13090
13891
  let createSemanticModel;
13091
13892
  let createSemanticSubMetric;
13092
13893
  let deleteGoalFromSubMetric;
13093
13894
  let deleteSemanticSubMetric;
13094
13895
  let getLeafDependenciesByTypes;
13896
+ let getSemanticGoal;
13897
+ let getSemanticGoalNotifyChange;
13095
13898
  let getSemanticMetric;
13096
13899
  let getSemanticMetricNotifyChange;
13097
13900
  let getSemanticMetrics;
@@ -13108,6 +13911,7 @@ let patchSemanticMetricGoal;
13108
13911
  let patchSemanticModel;
13109
13912
  // Imperative GET Adapters
13110
13913
  let getLeafDependenciesByTypes_imperative;
13914
+ let getSemanticGoal_imperative;
13111
13915
  let getSemanticMetric_imperative;
13112
13916
  let getSemanticMetrics_imperative;
13113
13917
  let getSemanticMetricsByIds_imperative;
@@ -13121,6 +13925,7 @@ const getLeafDependenciesByTypesMetadata = {
13121
13925
  apiFamily: 'SemanticAuthoring',
13122
13926
  name: 'getLeafDependenciesByTypes',
13123
13927
  };
13928
+ const getSemanticGoalMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticGoal' };
13124
13929
  const getSemanticMetricMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetric' };
13125
13930
  const getSemanticMetricsMetadata = { apiFamily: 'SemanticAuthoring', name: 'getSemanticMetrics' };
13126
13931
  const getSemanticMetricsByIdsMetadata = {
@@ -13149,6 +13954,7 @@ const getSemanticSubMetricsByIdMetadata = {
13149
13954
  function bindExportsTo(luvio) {
13150
13955
  // LDS Adapters
13151
13956
  const getLeafDependenciesByTypes_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLeafDependenciesByTypes', getLeafDependenciesByTypesAdapterFactory), getLeafDependenciesByTypesMetadata);
13957
+ const getSemanticGoal_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticGoal', getSemanticGoalAdapterFactory), getSemanticGoalMetadata);
13152
13958
  const getSemanticMetric_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetric', getSemanticMetricAdapterFactory), getSemanticMetricMetadata);
13153
13959
  const getSemanticMetrics_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetrics', getSemanticMetricsAdapterFactory), getSemanticMetricsMetadata);
13154
13960
  const getSemanticMetricsByIds_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSemanticMetricsByIds', getSemanticMetricsByIdsAdapterFactory), getSemanticMetricsByIdsMetadata);
@@ -13163,11 +13969,14 @@ function bindExportsTo(luvio) {
13163
13969
  return (config) => adapter(config).then((snapshot) => snapshot.data);
13164
13970
  }
13165
13971
  return {
13972
+ createSemanticGoal: unwrapSnapshotData(createSemanticGoalAdapterFactory),
13166
13973
  createSemanticModel: unwrapSnapshotData(createSemanticModelAdapterFactory),
13167
13974
  createSemanticSubMetric: unwrapSnapshotData(createSemanticSubMetricAdapterFactory),
13168
- deleteGoalFromSubMetric: createLDSAdapter(luvio, adapterName$d, deleteGoalFromSubMetricAdapterFactory),
13169
- deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$c, deleteSemanticSubMetricAdapterFactory),
13975
+ deleteGoalFromSubMetric: createLDSAdapter(luvio, adapterName$e, deleteGoalFromSubMetricAdapterFactory),
13976
+ deleteSemanticSubMetric: createLDSAdapter(luvio, adapterName$d, deleteSemanticSubMetricAdapterFactory),
13170
13977
  getLeafDependenciesByTypes: createWireAdapterConstructor(luvio, getLeafDependenciesByTypes_ldsAdapter, getLeafDependenciesByTypesMetadata),
13978
+ getSemanticGoal: createWireAdapterConstructor(luvio, getSemanticGoal_ldsAdapter, getSemanticGoalMetadata),
13979
+ getSemanticGoalNotifyChange: createLDSAdapter(luvio, 'getSemanticGoalNotifyChange', notifyChangeFactory$3),
13171
13980
  getSemanticMetric: createWireAdapterConstructor(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
13172
13981
  getSemanticMetricNotifyChange: createLDSAdapter(luvio, 'getSemanticMetricNotifyChange', notifyChangeFactory$2),
13173
13982
  getSemanticMetrics: createWireAdapterConstructor(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
@@ -13184,6 +13993,7 @@ function bindExportsTo(luvio) {
13184
13993
  patchSemanticModel: unwrapSnapshotData(patchSemanticModelAdapterFactory),
13185
13994
  // Imperative GET Adapters
13186
13995
  getLeafDependenciesByTypes_imperative: createImperativeAdapter(luvio, getLeafDependenciesByTypes_ldsAdapter, getLeafDependenciesByTypesMetadata),
13996
+ getSemanticGoal_imperative: createImperativeAdapter(luvio, getSemanticGoal_ldsAdapter, getSemanticGoalMetadata),
13187
13997
  getSemanticMetric_imperative: createImperativeAdapter(luvio, getSemanticMetric_ldsAdapter, getSemanticMetricMetadata),
13188
13998
  getSemanticMetrics_imperative: createImperativeAdapter(luvio, getSemanticMetrics_ldsAdapter, getSemanticMetricsMetadata),
13189
13999
  getSemanticMetricsByIds_imperative: createImperativeAdapter(luvio, getSemanticMetricsByIds_ldsAdapter, getSemanticMetricsByIdsMetadata),
@@ -13198,11 +14008,14 @@ function bindExportsTo(luvio) {
13198
14008
  }
13199
14009
  withDefaultLuvio((luvio) => {
13200
14010
  ({
14011
+ createSemanticGoal,
13201
14012
  createSemanticModel,
13202
14013
  createSemanticSubMetric,
13203
14014
  deleteGoalFromSubMetric,
13204
14015
  deleteSemanticSubMetric,
13205
14016
  getLeafDependenciesByTypes,
14017
+ getSemanticGoal,
14018
+ getSemanticGoalNotifyChange,
13206
14019
  getSemanticMetric,
13207
14020
  getSemanticMetricNotifyChange,
13208
14021
  getSemanticMetrics,
@@ -13218,6 +14031,7 @@ withDefaultLuvio((luvio) => {
13218
14031
  patchSemanticMetricGoal,
13219
14032
  patchSemanticModel,
13220
14033
  getLeafDependenciesByTypes_imperative,
14034
+ getSemanticGoal_imperative,
13221
14035
  getSemanticMetric_imperative,
13222
14036
  getSemanticMetrics_imperative,
13223
14037
  getSemanticMetricsByIds_imperative,
@@ -13230,5 +14044,5 @@ withDefaultLuvio((luvio) => {
13230
14044
  } = bindExportsTo(luvio));
13231
14045
  });
13232
14046
 
13233
- export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel };
13234
- // version: 1.332.0-dev13-e67f738040
14047
+ export { createSemanticGoal, createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticGoal, getSemanticGoalNotifyChange, getSemanticGoal_imperative, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel };
14048
+ // version: 1.332.0-dev14-759af80034